summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-13 00:10:11 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-13 00:10:11 +0000
commite09df8549fda44506de5fce64fcc64a37e0ec924 (patch)
tree1c965facf4c95fa8e15bf4a36f890d84851884fc /bin
parent2d70fe3ae7ad8d9445dd3057a146ac3e4c4ee907 (diff)
downloadportage-e09df8549fda44506de5fce64fcc64a37e0ec924.tar.gz
portage-e09df8549fda44506de5fce64fcc64a37e0ec924.tar.bz2
portage-e09df8549fda44506de5fce64fcc64a37e0ec924.zip
Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() tr
arguments. svn path=/main/trunk/; revision=13104
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 2789e5d70..2223dd3bf 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -87,7 +87,8 @@ export SANDBOX_ON="0"
_sb_append_var() {
local _v=$1 ; shift
local var="SANDBOX_${_v}"
- [[ -z $1 || -n $2 ]] && die "Usage: add$(echo ${_v} | LC_ALL=C tr :upper: :lower:) <colon-delimited list of paths>"
+ [[ -z $1 || -n $2 ]] && die "Usage: add$(echo ${_v} | \
+ LC_ALL=C tr [:upper:] [:lower:]) <colon-delimited list of paths>"
export ${var}="${!var:+${!var}:}$1"
}
# bash-4 version: