Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cyrinux
Copy link

@cyrinux cyrinux commented Jan 3, 2023

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.

b-crumb and others added 3 commits December 23, 2022 15:21
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]>
@tobhe
Copy link
Contributor

tobhe commented May 10, 2023

+1, also had to patch this in my Ubuntu package.

@dkwo
Copy link
Contributor

dkwo commented Apr 25, 2024

I think also update-m1n1 is bash specific?

@tobhe
Copy link
Contributor

tobhe commented Apr 25, 2024

@dkwo indeed

@dkwo
Copy link
Contributor

dkwo commented Apr 25, 2024

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.

@tobhe
Copy link
Contributor

tobhe commented Apr 25, 2024

@dkwo looks like it was fixed in 6d2a484. I was still carrying a diff to change the shebang line. I guess I can drop that.

@dkwo
Copy link
Contributor

dkwo commented Jun 21, 2024

it was reported that also asahi-diagnose has bashisms, do you mind changing its to bash as well in this pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants