slightly closer but cleanups are still wrong.
[feisty_meow.git] / scripts / clam / cpp / rebuild_oldies.sh
index b502a38dac35cdda0f1ad99bed96fbb5c2a0e4e3..fa3b4003b761ae09fa0b7048a7563ee984c6df66 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/bash
 if [ -f "$BUILD_LIST_FILE" ]; then
-       echo Compiling [$(cat $BUILD_LIST_FILE | while read line; do echo $(basename $line); done )]
+  echo Compiling Objects [$(cat $BUILD_LIST_FILE | while read input_text; do echo $(basename $input_text); done )]
   rm -f $(cat $BUILD_WHACK_FILE)
 #echo got line to run: $*
-  eval $*
+  eval "${@}"
   rm -f $BUILD_LIST_FILE $BUILD_WHACK_FILE
   if [ $? -ne 0 ]; then
     . "$CLAM_DIR/exit_make.sh"