From: Zac Medico Date: Fri, 13 Mar 2009 00:24:29 +0000 (-0000) Subject: Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() tr X-Git-Tag: v2.1.6.8~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=906ed857ef68f26d88a2bbd0d8778ae8e1f26df0;p=portage.git Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() tr arguments. (trunk r13104) svn path=/main/branches/2.1.6/; revision=13107 --- 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: