Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9279 - main/trunk/bin
Date: Wed, 06 Feb 2008 08:44:01
Message-Id: E1JMfss-0004MT-Ii@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-02-06 08:43:57 +0000 (Wed, 06 Feb 2008)
3 New Revision: 9279
4
5 Modified:
6 main/trunk/bin/ebuild.sh
7 Log:
8 For the useq() IUSE qa check, use [[ $u =~ $PORTAGE_IUSE ]] instead
9 of egrep since apparently it's compatible in this case. Thanks to
10 igli for this.
11
12
13 Modified: main/trunk/bin/ebuild.sh
14 ===================================================================
15 --- main/trunk/bin/ebuild.sh 2008-02-06 06:08:51 UTC (rev 9278)
16 +++ main/trunk/bin/ebuild.sh 2008-02-06 08:43:57 UTC (rev 9279)
17 @@ -148,7 +148,7 @@
18 [[ ${EMERGE_FROM} != binary ]] ; then
19 # TODO: Implement PORTAGE_IUSE for binary packages. Currently,
20 # it is only valid for build time phases.
21 - echo "${u}" | egrep -q "${PORTAGE_IUSE}" || \
22 + [[ $u =~ $PORTAGE_IUSE ]] || \
23 eqawarn "QA Notice: USE Flag '${u}' not" \
24 "in IUSE for ${CATEGORY}/${PF}"
25 fi
26
27 --
28 gentoo-commits@l.g.o mailing list