summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-18 03:43:32 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-18 03:43:32 +0000
commit50a6109655dce0438d870b7afd2e1f6540211e96 (patch)
tree4d2a9804e697bb1b623ff8cd11d6648332d9f28e
parent84a6b4b3d93a33266a77b3f18466dfaa12f19362 (diff)
downloadportage-50a6109655dce0438d870b7afd2e1f6540211e96.tar.gz
portage-50a6109655dce0438d870b7afd2e1f6540211e96.tar.bz2
portage-50a6109655dce0438d870b7afd2e1f6540211e96.zip
Fix typo: %% -> ##.
svn path=/main/trunk/; revision=8943
-rwxr-xr-xbin/sed2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sed b/bin/sed
index 27d6900b4..fa485ea84 100755
--- a/bin/sed
+++ b/bin/sed
@@ -4,7 +4,7 @@
# $Id$
scriptpath=${BASH_SOURCE[0]}
-scriptname=${scriptpath%%*/}
+scriptname=${scriptpath##*/}
if [[ sed == ${scriptname} ]] && [[ -n ${ESED} ]]; then
exec ${ESED} "$@"