summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-30 02:44:41 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-30 02:44:41 +0000
commit2ccc1bdd379690eeaf36181b49ec01dc294f0e36 (patch)
tree7e3fa2b1d7d8cde445b0990fca9bba92aeafbb29 /bin/ebuild.sh
parentFix slot handling at the beginning of match_from_list(). (trunk r6669) (diff)
downloadportage-multirepo-2ccc1bdd379690eeaf36181b49ec01dc294f0e36.tar.gz
portage-multirepo-2ccc1bdd379690eeaf36181b49ec01dc294f0e36.tar.bz2
portage-multirepo-2ccc1bdd379690eeaf36181b49ec01dc294f0e36.zip
For bug #61732, support -flag in USE (instead of just +flag). Given the current default USE_ORDER, -flag in IUSE has no effect. (trunk r6671)
svn path=/main/branches/2.1.2/; revision=6672
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 2590fcd9..25e41ec9 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1574,7 +1574,7 @@ if [ "${EBUILD_PHASE}" != "depend" ]; then
# Make IUSE defaults backward compatible with all the old shell code.
iuse_temp=""
for x in ${IUSE} ; do
- if [[ ${x} == +* ]]; then
+ if [[ ${x} == +* ]] || [[ ${x} == -* ]] ; then
iuse_temp="${iuse_temp} ${x:1}"
else
iuse_temp="${iuse_temp} ${x}"