summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-05-27 15:11:03 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-05-27 15:11:03 +0200
commita05bba76435d94407fd25549d0552902962baf62 (patch)
treea73a2b5be707faedde58d3d68945fac6645f47df /bin/ebuild.sh
parentAdd help for --rebuilt-binaries-timestamp. (diff)
downloadportage-idfetch-a05bba76435d94407fd25549d0552902962baf62.tar.gz
portage-idfetch-a05bba76435d94407fd25549d0552902962baf62.tar.bz2
portage-idfetch-a05bba76435d94407fd25549d0552902962baf62.zip
Fix handling of empty third argument of use_with() and use_enable().
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 4778afbe..b46d14a6 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