Marc Schiffbauer wrote:
> > > + if [ -d ${ROOT}/lib/udev ]
> 
> > If you don't use double [[ then ${ROOT} will need "" quoting
> 
> This was only true if ${ROOT} stood there on its own. IMO if you have
> ${ROOT}/foo you do not need "" quoting because even if $ROOT is empty
> you will not get a syntaxt error.

I think you will run into trouble if it contains whitespace.


//Peter

Attachment: pgpr0YkjT5D1Z.pgp
Description: PGP signature

Reply via email to