summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bench/run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/run.sh b/bench/run.sh
index 2c19922..f7fa38e 100644
--- a/bench/run.sh
+++ b/bench/run.sh
@@ -19,6 +19,7 @@ shells=
labels=
for a in "$@"; do
p=${a%%=*}
+ case $p in /*) ;; *) p=$(pwd)/$p ;; esac # we chdir to a work directory
case $a in *=*) l=${a#*=} ;; *) l= ;; esac
[ -n "$l" ] || l=${p##*/}
[ "$p" = /bin/sh ] && [ "$(uname -s)" = OS/390 ] && l='z/OS sh'