This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shell scripts requiring bash


On Monday 19 March 2012 16:27:41 David Miller wrote:
> From: "Joseph S. Myers" <joseph@codesourcery.com>
> > On Mon, 19 Mar 2012, David Miller wrote:
> >> All of our scripts in the libc tree should be POSIX shell scripts and
> >> therefore there is no reason to require BASH explicitly anywhere.
> > 
> > I'd tend to agree with that for scripts that get installed - it would be
> > good for them to work on systems without bash - but for the build and
> > test process I think it's reasonable to use bash (just like various
> > other GNU tools are needed).
> 
> I can't think of any bash specific feature that is absolutely necessary
> nor makes life that much easier, even in the tests.
> 
> A POSIX shell provides everything might need.

Ulrich said "no" to changing ldd to POSIX shell.  mostly related to the set 
opt detection.  should be easy to locate the threads in the archive on the 
topic ...

but currently, you can't change those to /bin/sh w/out more work than just 
tweaking the shebang
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]