From 2ccc1bdd379690eeaf36181b49ec01dc294f0e36 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 30 May 2007 02:44:41 +0000 Subject: 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 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild.sh') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 2590fcd9a..25e41ec9d 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}" -- cgit v1.2.3-1-g7c22