<div dir="auto"><span style="font-family:sans-serif">Yeah, I also use dash as my /bin/sh and I sometimes encounter this and it's a little annoying to be honest. I mean, if you already use /bin/sh as the shebang line, technically you</span><span style="font-family:sans-serif"> are expected to write POSIX-compliant shell scripts, even though it will still work correctly when having /bin/sh linked to bash. Not trying to bash on the maintainers here (thanks for all the hard work!), It's just a little bit unfortunate.</span><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">I personally prefer that the scripts are updated to not use the brace expansion so I can use a more lightweight shell to run the script :D. But, I understand that some scripts are too complex to be converted to POSIX-compliant ones so it's just easier to use /bin/bash as the shebang line, like what Mr. Volkerding did with some of Slackware's core utilities. I'm happy with either decision, as long as I can rest assured that no scripts will fail randomly because of using the wrong shell :D.</div><br><div data-smartmail="gmail_signature">MMS</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 17, 2021, 02:51 Spycrowsoft <<a href="mailto:spycrowsoft@gmail.com">spycrowsoft@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Op 16-06-2021 om 21:09 schreef Eugen Wissner:<br>
> Pat changed /bin/sh to /bin/bash in all<br>
> rc-scripts, so they work with other shells.<br>
<br>
We should confirm this with Patrick Volderding, but if he's doing that, <br>
my take on the matters is: "Follow what the BDFL is doing".<br>
<br>
The fact that the SlackBuild contains a pointer to the right shell also <br>
makes sense to me.<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank" rel="noreferrer">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>