fixed an oops in the example application.
[feisty_meow.git] / scripts / generator / whack_build.sh
index bedd3a098b79be756b75a87daccc52bc76ae5bb0..fc391248f2c5885a0af0052dfc185ef101716102 100644 (file)
@@ -30,11 +30,12 @@ function whack_single_build_area()
 
   # avoid accidentally removing way too much important stuff if our variables have not
   # been previously established.
-  local WASTE_DIR="$CLEANING_LOCALE/waste"
-  local TEMPORARIES_DIR="$CLEANING_LOCALE/temporaries"
+  local WASTE_DIR="$CLEANING_TOP/waste"
+  local TEMPORARIES_DIR="$CLEANING_TOP/temporaries"
 
   # kerzap.
   rm -rf \
+    "$REPOSITORY_DIR/generatedJUnitFiles" \
     "$CLEANING_TOP/binaries" \
     "$CLEANING_TOP/install" \
     "$CLEANING_TOP/logs" \
@@ -48,13 +49,11 @@ function whack_single_build_area()
 
   if [ "$clean_src" == "clean" -o "$clean_src" == "CLEAN"  ]; then
     echo $(date): "    ** Aggressive cleaning activated..."
-    perl "$SHELLDIR/files/zapdirs.pl" "$CLEANING_TOP" >>"$CRUDFILE"
+    perl "$REPOSITORY_DIR/scripts/files/zapdirs.pl" "$CLEANING_TOP" >>"$CRUDFILE"
   fi
 
   echo $(date): "Cleaned [$choprepo]."
-
   rm -rf "$NEW_TMP"
-
   return 0
 }
 
@@ -64,5 +63,3 @@ function whack_single_build_area()
 
 whack_single_build_area "$REPOSITORY_DIR"
 
-
-