public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r9279 - main/trunk/bin
@ 2008-02-06  8:43 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-02-06  8:43 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-02-06 08:43:57 +0000 (Wed, 06 Feb 2008)
New Revision: 9279

Modified:
   main/trunk/bin/ebuild.sh
Log:
For the useq() IUSE qa check, use [[ $u =~ $PORTAGE_IUSE ]] instead
of egrep since apparently it's compatible in this case. Thanks to
igli for this.


Modified: main/trunk/bin/ebuild.sh
===================================================================
--- main/trunk/bin/ebuild.sh	2008-02-06 06:08:51 UTC (rev 9278)
+++ main/trunk/bin/ebuild.sh	2008-02-06 08:43:57 UTC (rev 9279)
@@ -148,7 +148,7 @@
 		[[ ${EMERGE_FROM} != binary ]] ; then
 		# TODO: Implement PORTAGE_IUSE for binary packages. Currently,
 		# it is only valid for build time phases.
-		echo "${u}" | egrep -q "${PORTAGE_IUSE}" || \
+		[[ $u =~ $PORTAGE_IUSE ]] || \
 			eqawarn "QA Notice: USE Flag '${u}' not" \
 				"in IUSE for ${CATEGORY}/${PF}"
 	fi

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-06  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-06  8:43 [gentoo-commits] portage r9279 - main/trunk/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox