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"
shift
urchinsh=${TEST_SHELL:-/bin/sh}
"$urchinsh" "$@"
#current_shell=$(ps -o comm= -p $$ && :)
#urchinsh=${TEST_SHELL:-$current_shell}
export TEST_SHELL=${TEST_SHELL:-/bin/sh}
"$TEST_SHELL" "$@"
exit $?;;
-h|--help) urchin_help
exit 0;;