From: Arfrever Frehtes Taifersar Arahesis Date: Thu, 27 May 2010 13:11:03 +0000 (+0200) Subject: Fix handling of empty third argument of use_with() and use_enable(). X-Git-Tag: v2.2_rc68~563 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a05bba76435d94407fd25549d0552902962baf62;p=portage.git Fix handling of empty third argument of use_with() and use_enable(). --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 4778afbe9..b46d14a63 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -230,7 +230,7 @@ use_with() { return 1 fi - local UW_SUFFIX=${3:+=$3} + local UW_SUFFIX=${3+=$3} local UWORD=${2:-$1} if useq $1; then @@ -248,7 +248,7 @@ use_enable() { return 1 fi - local UE_SUFFIX=${3:+=$3} + local UE_SUFFIX=${3+=$3} local UWORD=${2:-$1} if useq $1; then