Hi

On Thu, Oct 2, 2014 at 9:56 AM, Miroslav Suchý  wrote:

> On 10/02/2014 04:39 AM, Rahul Sundaram wrote:
>
>> Is it worth considering using Dash as the default (non-interactive) shell
>> in Fedora?
>>
>
> Why starting with changing target of /bin/sh?
>
> Can we start with smaller step?
> Like put in Packing Guidelines, that authors and maintainers of
> non-interactive shell scripts should use
>   #!/usr/bin/dash
>

I don't think we need all scripts to do this.  Using sh when you are not
relying on any bash specific features is just fine.   Arch Linux wiki
suggests:

$checkbashisms -f -p $(grep -rlE '^#! ?/bin/(env )?sh' /usr/bin)

checkbashisms is part of devscripts-minimal in Fedora.

Rahul
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to