From: Zac Medico Date: Fri, 13 Mar 2009 00:10:11 +0000 (-0000) Subject: Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() tr X-Git-Tag: v2.2_rc26~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e09df8549fda44506de5fce64fcc64a37e0ec924;p=portage.git Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() tr arguments. svn path=/main/trunk/; revision=13104 --- 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:) " + [[ -z $1 || -n $2 ]] && die "Usage: add$(echo ${_v} | \ + LC_ALL=C tr [:upper:] [:lower:]) " export ${var}="${!var:+${!var}:}$1" } # bash-4 version: