diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-02 20:55:48 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-02 20:55:48 +0000 |
commit | 805f509b5b1a6da0bfb67623780659b49238e16c (patch) | |
tree | 3e0ff827814fbf26be4aa462c9cf351cf56b5d41 | |
parent | bf00b054aa8ebc5cdbb83d5fec28280edfa9965c (diff) | |
download | portage-805f509b5b1a6da0bfb67623780659b49238e16c.tar.gz portage-805f509b5b1a6da0bfb67623780659b49238e16c.tar.bz2 portage-805f509b5b1a6da0bfb67623780659b49238e16c.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.
svn path=/main/trunk/; revision=8805
-rwxr-xr-x | bin/ebuild.sh | 2 |
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_* ]] && \ |