1 |
Am Montag, 6. August 2012, 01:25:44 schrieb Peter Stuge: |
2 |
> Marc Schiffbauer wrote: |
3 |
> > > > + if [ -d ${ROOT}/lib/udev ] |
4 |
> > > |
5 |
> > > If you don't use double [[ then ${ROOT} will need "" quoting |
6 |
> > |
7 |
> > This was only true if ${ROOT} stood there on its own. IMO if you have |
8 |
> > ${ROOT}/foo you do not need "" quoting because even if $ROOT is empty |
9 |
> > you will not get a syntaxt error. |
10 |
> |
11 |
> I think you will run into trouble if it contains whitespace. |
12 |
|
13 |
Indeed. Convinced. |
14 |
|
15 |
-Marc |
16 |
-- |
17 |
0x35A64134 - 8AAC 5F46 83B4 DB70 8317 3723 296C 6CCA 35A6 4134 |