Merge branch 'release-2.140.115'
[feisty_meow.git] / scripts / clam / badness_catcher.sh
old mode 100755 (executable)
new mode 100644 (file)
index e9b19f2..cc523e8
@@ -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