summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-02 20:56:31 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-02 20:56:31 +0000
commitb9d49177116c5f5e490f64a02c66042dc46c2abc (patch)
treea7586524a18b01f428f8206214a1453d906427a9 /bin/ebuild.sh
parent225499a8a36604412c2de35c078861fb6547333f (diff)
downloadportage-b9d49177116c5f5e490f64a02c66042dc46c2abc.tar.gz
portage-b9d49177116c5f5e490f64a02c66042dc46c2abc.tar.bz2
portage-b9d49177116c5f5e490f64a02c66042dc46c2abc.zip
Fix useq() so that it won't generate a bogus IUSE QA Notice
if called during the "depend" phase with a flag that uses IUSE defaults. (trunk r8805) svn path=/main/branches/2.1.2/; revision=8806
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 2f015d3a6..f4de63b15 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -139,6 +139,8 @@ useq() {
# Make sure we have this USE flag in IUSE
if ! hasq "${u}" ${IUSE} ${E_IUSE} && \
+ ! hasq "+${u}" ${IUSE} ${E_IUSE} && \
+ ! hasq "-${u}" ${IUSE} ${E_IUSE} && \
! hasq "${u}" ${PORTAGE_ARCHLIST} selinux && \
[[ ${u} != arch_* ]] && \
[[ ${u} != elibc_* ]] && \