On Wed, 2012-06-06 at 14:03 -0400, Tom Callaway wrote: > Here is the latest set of changes to the Fedora Packaging Guidelines: > > --- > > In Fedora, you can assume that the default shell (/bin/sh) is bash. > Thus, all scriptlets can safely assume that if they are running in shell > code, they are running within bash. > > https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Default_Shell I'd rather see this rephrased to refer only to scriptlets. It's not impossible that we might want to switch to an alternative /bin/sh in the future (such as dash) for scripts and it would be best if we were ensuring that scripts are packaged to rely on /bin/bash if they use bash-specific functions. As far as scriptlets, in general I'd personally rather we either limit our support to pure Bourne Shell. Allowing people to assume bash extensions implicitly is a recipe for future trouble.
Attachment:
signature.asc
Description: This is a digitally signed message part
-- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging