different temporary dir. plus may have found real problem in builds.
[feisty_meow.git] / scripts / generator / whack_build.sh
index 870b285cc430795f650d387780be4a7221665434..fc391248f2c5885a0af0052dfc185ef101716102 100644 (file)
@@ -30,12 +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 \
-    "$CLEANING_TOP/generatedJUnitFiles" \
+    "$REPOSITORY_DIR/generatedJUnitFiles" \
     "$CLEANING_TOP/binaries" \
     "$CLEANING_TOP/install" \
     "$CLEANING_TOP/logs" \
@@ -53,9 +53,7 @@ function whack_single_build_area()
   fi
 
   echo $(date): "Cleaned [$choprepo]."
-
   rm -rf "$NEW_TMP"
-
   return 0
 }
 
@@ -65,5 +63,3 @@ function whack_single_build_area()
 
 whack_single_build_area "$REPOSITORY_DIR"
 
-
-