Bug#772410: [PATCH] Fix bashisms in scripts

2015-01-15 Thread Boris Egorov
On Wed, 10 Dec 2014 13:54:45 +0600 Boris Egorov ego...@linux.com wrote: Do not use bash-specific features in scripts with '#!/bin/sh' interpreter; it can be some other shell instead of bash. Exit codes converted to non-negative values identical to those before (to not break some scripts

Bug#772410: [PATCH] Fix bashisms in scripts

2014-12-10 Thread Sylvestre Ledru
Hello Thanks but next time, you should check in the svn, most of them were already fixed :/ S On 10/12/2014 08:54, Boris Egorov wrote: Do not use bash-specific features in scripts with '#!/bin/sh' interpreter; it can be some other shell instead of bash. Exit codes converted to non-negative

Bug#772410: [PATCH] Fix bashisms in scripts

2014-12-10 Thread Boris Egorov
On 12/10/2014 05:00 PM, Sylvestre Ledru wrote: Hello Thanks but next time, you should check in the svn, most of them were already fixed :/ Oh, fine. Now I know what to do next time =) I just get upstream sources and create patch on them: http://bugzilla.scilab.org/show_bug.cgi?id=13695 I

Bug#772410: [PATCH] Fix bashisms in scripts

2014-12-09 Thread Boris Egorov
Do not use bash-specific features in scripts with '#!/bin/sh' interpreter; it can be some other shell instead of bash. Exit codes converted to non-negative values identical to those before (to not break some scripts relying on old behavior). Implementation of $RANDOM taken from Debian package