TEST_SHELL

This commit is contained in:
Thomas Levine 2014-11-17 04:49:15 +00:00
parent 6f51dd7abb
commit 560b55d1fb

6
urchin
View File

@ -177,8 +177,10 @@ do
;; ;;
-x) # `urchin -sh` is equivalent to "$TEST_SHELL" -x) # `urchin -sh` is equivalent to "$TEST_SHELL"
shift shift
urchinsh=${TEST_SHELL:-/bin/sh} #current_shell=$(ps -o comm= -p $$ && :)
"$urchinsh" "$@" #urchinsh=${TEST_SHELL:-$current_shell}
export TEST_SHELL=${TEST_SHELL:-/bin/sh}
"$TEST_SHELL" "$@"
exit $?;; exit $?;;
-h|--help) urchin_help -h|--help) urchin_help
exit 0;; exit 0;;