aboutsummaryrefslogtreecommitdiff
path: root/bin/eds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/eds.sh')
-rw-r--r--bin/eds.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/eds.sh b/bin/eds.sh
index 7e719e9d..134fbdcb 100644
--- a/bin/eds.sh
+++ b/bin/eds.sh
@@ -23,7 +23,10 @@ esac
# Prepend the path to each of the names given if they don't look like options
for arg do
- [ -n "$reset" ] || set -- && reset=1
+ if [ -z "$reset" ] ; then
+ set --
+ reset=1
+ fi
case $arg in
--)
optend=1