[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bashisems in maintainer scripts.



On Tue, Mar 02, 2004 at 07:53:37PM +0100, Petter Reinholdtsen wrote:
> [Jeroen van Wolffelaar]
> > Why not simply use #!/bin/bash (it's essential), nobody is forced to
> > use /bin/sh...
> > 
> > Baf, all problems gone, bashisms are allowed, if it works with bash,
> > it works, bash is portable within Debian so problem solved.
> > 
> > Or did I miss something?
> 
> Yes.  bash have a bug making it useless as /bin/sh when using LDAP and
> /usr/ is a separate partition.  See bug #159771 for the details.
> 
> /bin/ash do not have this problem, so that is what we use in
> debian-edu. :)

Imho it would be a worthy goal in the long run to make bash
non-essential (a first step would be to make all maintainer-scripts
using /bin/sh posix-compliant, a second-step to make scripts using
/bin/bash posix-compliant), but I suppose I'm alone in this.


Regards: David Weinehall
-- 
 /) David Weinehall <tao@acc.umu.se> /) Northern lights wander      (\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\)  http://www.acc.umu.se/~tao/    (/   Full colour fire           (/



Reply to: