fix debug

This commit is contained in:
Thomas Levine 2016-04-04 00:42:08 +00:00
parent 0de2c3264a
commit cd7f773d58
1 changed files with 8 additions and 4 deletions

12
urchin
View File

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