summaryrefslogtreecommitdiff
path: root/build-aux/options-parser
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/options-parser')
-rw-r--r--build-aux/options-parser6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/options-parser b/build-aux/options-parser
index 4777d767..566ae430 100644
--- a/build-aux/options-parser
+++ b/build-aux/options-parser
@@ -167,8 +167,8 @@ EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
debug_cmd=${debug_cmd-":"}
exit_cmd=:
-dirname="$SED -e "'s|/[^/]*$||'
-basename="$SED -e "'s|^.*/||'
+dirname='s|/[^/]*$||'
+basename='s|^.*/||'
nl='
'
@@ -181,7 +181,7 @@ nl='
progpath=$0
# The name of this program.
-progname=`echo "$progpath" |$basename`
+progname=`echo "$progpath" |$SED "$basename"`
## ------------------------- ##