diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-02-06 08:43:57 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-02-06 08:43:57 +0000 |
commit | dd8a658710fc50723850f48d88224046c285e79f (patch) | |
tree | 662d677dd2ca0fec488560131f3dc8caad347f40 | |
parent | e210ba84b1c68ad83e040526fef33b91ebf0eb7f (diff) | |
download | portage-dd8a658710fc50723850f48d88224046c285e79f.tar.gz portage-dd8a658710fc50723850f48d88224046c285e79f.tar.bz2 portage-dd8a658710fc50723850f48d88224046c285e79f.zip |
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
-rwxr-xr-x | bin/ebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |