X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fbadness_catcher.sh;h=cc523e8dfa8c367d478320695af8e14b8754b5c0;hb=df7e2dd0c79566650f4104496679c43a6a059424;hp=e9b19f29023548ab52d93f2f33a4995a1d22f516;hpb=7694650f42a2ceb801896662dbd531097fc11758;p=feisty_meow.git diff --git a/scripts/clam/badness_catcher.sh b/scripts/clam/badness_catcher.sh index e9b19f29..cc523e8d 100755 --- a/scripts/clam/badness_catcher.sh +++ b/scripts/clam/badness_catcher.sh @@ -1,7 +1,9 @@ #!/bin/bash # badness_catcher: runs the command line passed in and catches error conditions. -#echo args are: $* +if [ ! -z "$NOISY" ]; then + echo $* +fi eval "$@" # get exit status. @@ -17,6 +19,6 @@ echo "Error in project: \"$PROJECT\"" echo " command was: $*" echo echo "=======================" -source $CLAM_DIR/exit_make.sh +source $CLAM_SCRIPTS/exit_make.sh exit $ERR