fix debug

This commit is contained in:
Thomas Levine 2016-04-04 00:42:08 +00:00
parent 0de2c3264a
commit cd7f773d58

4
urchin
View File

@ -186,9 +186,11 @@ recurse() {
fi fi
if test -f setup_dir; then if test -f setup_dir; then
if $print_debug; then
echo Sourcing "${PWD}/setup_dir" echo Sourcing "${PWD}/setup_dir"
. ./setup_dir . ./setup_dir
fi fi
fi
for test in *; do for test in *; do
if test "${test}" = '*' && ! test -e "${test}"; then if test "${test}" = '*' && ! test -e "${test}"; then
@ -264,9 +266,11 @@ recurse() {
finish=$(date +%s) finish=$(date +%s)
if test -f teardown; then if test -f teardown; then
if $print_debug; then
echo Sourcing "${PWD}/teardown" echo Sourcing "${PWD}/teardown"
. ./teardown . ./teardown
fi fi
fi
if [ "${exit_code}" -eq 0 ]; then if [ "${exit_code}" -eq 0 ]; then
result=ok result=ok