Open cyrinux opened 1 year ago
+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.
@dkwo looks like it was fixed in https://github.com/AsahiLinux/asahi-scripts/commit/6d2a484e7ed1658f8e5f24406a5610bfe0b2a8e3. I was still carrying a diff to change the shebang line. I guess I can drop that.
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.