public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r13104 - main/trunk/bin
@ 2009-03-13  0:10 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-03-13  0:10 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-03-13 00:10:11 +0000 (Fri, 13 Mar 2009)
New Revision: 13104

Modified:
   main/trunk/bin/ebuild.sh
Log:
Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() tr
arguments.


Modified: main/trunk/bin/ebuild.sh
===================================================================
--- main/trunk/bin/ebuild.sh	2009-03-12 21:08:18 UTC (rev 13103)
+++ main/trunk/bin/ebuild.sh	2009-03-13 00:10:11 UTC (rev 13104)
@@ -87,7 +87,8 @@
 _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:




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-13  0:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13  0:10 [gentoo-commits] portage r13104 - main/trunk/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox