diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-24 16:38:16 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-24 16:38:16 -0600 |
| commit | 2e0730af8fba0c0d8bdb78a9c455c89295a8500f (patch) | |
| tree | a845021c827249a9802a4fafaad686e75ca5fac7 /bench/run.sh | |
| parent | fab8fa703c8297b6d3d76583ab65b776cd4cb393 (diff) | |
| download | zash-bench/startup.tar.gz | |
bench: take a shell path that is relative to where run.sh was calledbench/startup
The harness chdirs to a work directory, so `./zash`, the form the usage
line shows, resolved to nothing.
Diffstat (limited to 'bench/run.sh')
| -rw-r--r-- | bench/run.sh | 1 |
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' |
