diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-05-30 02:42:05 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-05-30 02:42:05 +0000 |
commit | 0ae7a650e2d6c507de3d3e54c0734485ccea232c (patch) | |
tree | ef65485611dc37166269fe6c056be544981382f8 /bin/ebuild.sh | |
parent | cc076b03ce16db9b139b8e4ec63174fddf883468 (diff) | |
download | portage-0ae7a650e2d6c507de3d3e54c0734485ccea232c.tar.gz portage-0ae7a650e2d6c507de3d3e54c0734485ccea232c.tar.bz2 portage-0ae7a650e2d6c507de3d3e54c0734485ccea232c.zip |
For bug #61732, support -flag in USE (instead of just +flag). Given the current default USE_ORDER, -flag in IUSE has no effect.
svn path=/main/trunk/; revision=6671
Diffstat (limited to 'bin/ebuild.sh')
-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 8b9981a1e..e533ca31d 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1501,7 +1501,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}" |