X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/bfdee8c36e31700e3c744c68489cc8de2c4e2c12..c0a4a95f5bc569e8418b396da691b5fc411e3f9c:/bin/run-with-shell-env diff --git a/bin/run-with-shell-env b/bin/run-with-shell-env index ba0afcf..00181e3 100755 --- a/bin/run-with-shell-env +++ b/bin/run-with-shell-env @@ -1,5 +1,6 @@ #! /bin/bash -x exec >/tmp/mdw/hacky.log 2>&1 +declare -a original_args=("$@") case ${__mdw_profile+t} in t) ;; *) @@ -10,4 +11,4 @@ case ${__mdw_profile+t} in set -x ;; esac -exec "$@" +exec "${original_args[@]}"