Am Montag, 6. August 2012, 01:25:44 schrieb Peter Stuge:
> 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.

Indeed. Convinced.

-Marc
-- 
0x35A64134 - 8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

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

Reply via email to