wow, might actually be right now for the subdir cleaning with the right targets....
[feisty_meow.git] / scripts / clam / clean_subdirs.sh
index 00ba783c6d389a7f12d1a182b3b814872132298a..8eb4cdcf8cf373974c3b5457b2a2a7df6f09b2a2 100755 (executable)
@@ -12,11 +12,11 @@ function clean_subdirectories()
     # make sure there's a makefile there.
     if [ -f "$smoot87/makefile" ]; then
 #echo "inside barriers, with filename=$smoot87 and all conditions met."
-      pushd "$smoot87"
+      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
 }