From 906ed857ef68f26d88a2bbd0d8778ae8e1f26df0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 13 Mar 2009 00:24:29 +0000 Subject: Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() tr arguments. (trunk r13104) svn path=/main/branches/2.1.6/; revision=13107 --- bin/ebuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3-1-g7c22