updated to scour the proper area with zapdirs.
authorChris Koeritz <fred@gruntose.com>
Fri, 24 Feb 2012 16:02:32 +0000 (11:02 -0500)
committerChris Koeritz <fred@gruntose.com>
Fri, 24 Feb 2012 16:02:32 +0000 (11:02 -0500)
scripts/generator/whack_build.sh

index a9dc095ffa41e17b9cd4892d2e307439a09ea131..0778fb6da08ef9bf1c4339d82ceb8c2c5cafc33c 100644 (file)
@@ -14,7 +14,7 @@ function whack_single_build_area()
   fi
 
   local choprepo="$(basename "$(dirname "$CLEANING_LOCALE")" )/$(basename "$CLEANING_LOCALE")"
-  echo $(date): "Cleaning up [$choprepo]..."
+  echo $(date): "cleaning up [$choprepo]..."
   if [ -z "$CLEANING_LOCALE" ]; then
     echo "The CLEANING_LOCALE variable is not set!"
     exit 3
@@ -26,7 +26,7 @@ function whack_single_build_area()
 
   CLEANING_TOP="$CLEANING_LOCALE/production"
 
-#  echo $(date): "  Cleaning up the build products..."
+#  echo $(date): "  cleaning up the build products..."
 
   # avoid accidentally removing way too much important stuff if our variables have not
   # been previously established.
@@ -45,14 +45,14 @@ function whack_single_build_area()
     "$CLEANING_TOP/__build_"*.h \
     "$CLEANING_TOP/manifest.txt" 
 
-#  echo $(date): "  Cleaning generated files in source hierarchy..."
+#  echo $(date): "  cleaning generated files in source hierarchy..."
 
   if [ "$clean_src" == "clean" -o "$clean_src" == "CLEAN"  ]; then
-    echo $(date): "    ** Aggressive cleaning activated..."
-    perl "$FEISTY_MEOW_DIR/scripts/files/zapdirs.pl" "$CLEANING_TOP" >>"$CRUDFILE"
+    echo $(date): "    ** aggressive cleaning activated..."
+    perl "$FEISTY_MEOW_DIR/scripts/files/zapdirs.pl" "$FEISTY_MEOW_DIR" >>"$CRUDFILE"
   fi
 
-  echo $(date): "Cleaned [$choprepo]."
+  echo $(date): "cleaned [$choprepo]."
   rm -rf "$NEW_TMP"
   return 0
 }