On 3/25/19 8:02 AM, Adam Williamson wrote: > On Mon, 2019-03-25 at 12:59 +0100, Dridi Boukelmoune wrote: >> And since RPM appears to be configurable for the >> default interpreter, have it use /usr/bin/bash by default. > > TBH, it seems to me reasonable that we just do this. > > If our position is that we actually expect Fedora package scriptlets to > be executed by bash and don't think it's a problem if they don't work > when executed by some other shell, why not this make this clear and > explicit in this way instead of having the default be sh, but then tell > people sh must be bash?
Doesn't bash behave slightly differently when invoked as 'sh' ? Long ago it used to, but I don't know if thats still the case... kevin
signature.asc
Description: OpenPGP digital signature
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org