-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: explicit use bash for update-grub #23
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: b-crumb <[email protected]>
Signed-off-by: b-crumb <[email protected]>
I use dash as /bin/sh on my system. Actual script is not posix compliant some piece of code are bash only, I propose to just force /bin/bash here. Or we should convert them all to posix, in case some people, use dash for example. Signed-off-by: Cyril Levis <[email protected]>
4ae9d35
to
b7f12bb
Compare
+1, also had to patch this in my Ubuntu package. |
I think also update-m1n1 is bash specific? |
@dkwo indeed |
Actually i think i was wrong. For me, the issue is that m1n1.conf needs to have an end of line, otherwise it is not processed. i'm using a slightly modified version, but it works with /bin/sh on void, which is dash i think. the example in the wiki is bash though, with the <(.. construct. |
it was reported that also asahi-diagnose has bashisms, do you mind changing its to bash as well in this pr? |
I use dash as /bin/sh on my system.
Actual script is not posix compliant some piece of code are bash only, I propose to just force /bin/bash here.
Or we should convert them all to posix, in case some people, use dash for example.