fixed for cleaning up the .a files
[feisty_meow.git] / scripts / clam / clean_subdirs.sh
old mode 100644 (file)
new mode 100755 (executable)
index 00ba783..45d2c1e
@@ -11,12 +11,12 @@ function clean_subdirectories()
   for smoot87 in $(find . -mindepth 1 -maxdepth 1 -type d); do
     # make sure there's a makefile there.
     if [ -f "$smoot87/makefile" ]; then
-#echo "inside barriers, with filename=$smoot87 and all conditions met."
-      pushd "$smoot87"
+#echo -e "\n\n[[inside barriers, with filename=$burlap51 and all conditions met]]\n\n"
+      pushd "$smoot87" &>/dev/null
       make --silent -I "$CLAM_DIR" NOT_FIRST_MAKE=t clean
-      popd
+      popd &>/dev/null
     else
-      echo "Skipping makefile-less directory $smoot87..."
+      echo "(skipping directory $smoot87)"
     fi
   done
 }