From dd8a658710fc50723850f48d88224046c285e79f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 6 Feb 2008 08:43:57 +0000 Subject: [PATCH] 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. svn path=/main/trunk/; revision=9279 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 8601863a0..6752df9ae 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -148,7 +148,7 @@ useq() { [[ ${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 -- 2.26.2