Gentoo Archives: gentoo-dev

From: Peter Stuge <peter@×××××.se>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog
Date: Sun, 05 Aug 2012 23:26:45
Message-Id: 20120805232544.906.qmail@stuge.se
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog by Marc Schiffbauer
1 Marc Schiffbauer wrote:
2 > > > + if [ -d ${ROOT}/lib/udev ]
3 >
4 > > If you don't use double [[ then ${ROOT} will need "" quoting
5 >
6 > This was only true if ${ROOT} stood there on its own. IMO if you have
7 > ${ROOT}/foo you do not need "" quoting because even if $ROOT is empty
8 > you will not get a syntaxt error.
9
10 I think you will run into trouble if it contains whitespace.
11
12
13 //Peter

Replies