On Mon, Nov 12, 2007 at 04:17:06PM -0500, Justin Pryzby wrote:
> > +# Avoid cases were users accidentally nuke their config/binary
> > +if [ $(basename ${PWD}) == "config" ] || [ ! -d "config" ]
> == is a bashism which is for regexes, for posix compatibility use just
> [ a = b ]
>
> Also use [ .. ] && [ .. ] instead of [ .. -a .. ] (the latter is an
> XSI-ism which AIUI is an extension of posix).
> And [ ! .. ] rather than ! [ .. ].
> And [ .. ] rather than [[ .. ]].
> And don't use "function".

And type -- http://bugs.debian.org/397601

Much as I like /bin/sh purity, I wonder if it would be simpler to
change all the shebangs to #/bin/bash?

Attachment: signature.asc
Description: Digital signature

_______________________________________________
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to