Re: /bin/sh portability question
- From
- Nico -telmich- Schottelius <nico-linux-git@schottelius.org>
- Date
- Sep 25, 2005, 19:26 UTC
- Message-ID
- <20050925192608.GD19023@schottelius.org>
- In-Reply-To
- <39450.10.10.10.28.1127471685.squirrel@linux1>
Sean [Fri, Sep 23, 2005 at 06:34:45AM -0400]:
Show 17 quoted lines
> On Fri, September 23, 2005 5:19 am, Junio C Hamano said: > > "Sean" <seanlkml@sympatico.ca> writes: > > > >> If not, would you accept a patch that first converted the shell scripts > >> to > >> #!/bin/bash and then added a "make install" option that allowed them to > >> be > >> replaced? Something like "make install S=/bin/ash" for instance? > > > > $ make SHELL_PATH=/bin/bash > > > > Perhaps? > > > > Heh.. so you've already got that working :o) So on Solaris one fix would > be to just use the SHELL_PATH setting when installing to point to > /bin/bash. What do you think about making /bin/bash the default?
I think it's a bad idea, because some systems do not have and want bash, because it's unneeded. On all systems here we've ash as /bin/sh and /bin/zsh as primary user shell. Thus, /bin/bash does not exist, because it's not as comfortable as zsh and not as small as ash.
Nico, who really likes man bash (very well documentated), but not the shell itself
-- Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/) Open Source nutures open minds and free, creative developers.