Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: "Robin H. Johnson" <robbat2@g.o>
Cc: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/baselayout: baselayout-2.0.0_rc4-r1.ebuild
Date: Wed, 26 Sep 2007 07:17:07
Message-Id: 200709260303.24929.vapier@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-apps/baselayout: baselayout-2.0.0_rc4-r1.ebuild by "Robin H. Johnson"
1 On Wednesday 26 September 2007, Robin H. Johnson wrote:
2 > On Wed, Sep 26, 2007 at 06:41:50AM +0000, Mike Frysinger (vapier) wrote:
3 > > - if [[ -f "${ROOT}/etc/conf.d/$1" ]]; then
4 > > + if [[ -f ${ROOT}/etc/conf.d/$1 ]]; then
5 >
6 > You removed the quotes here - $ROOT with spaces?
7
8 same as your other comments, irrelevant ... [[ ]] handles things properly
9
10 > > - for f in ${ROOT}etc/init.d/net.*; do
11 > > - [[ -L ${f} || ${f} == "${ROOT}etc/init.d/${lo}" ]] && continue
12 > > + for f in "${ROOT}"etc/init.d/net.*; do
13 > > + [[ -L ${f} || ${f} == */${lo} ]] && continue
14 >
15 > Again the quotes, and that conditional looks iffy, it was checking
16 > against ${ROOT}/etc/init.d/net.lo before, and now it's checking against
17 > ${PWD}/*/net.lo?
18
19 where do you see $PWD ? i see a simple string match
20 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature