summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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} "$@"