X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fgenerator%2Fwhack_build.sh;h=a9dc095ffa41e17b9cd4892d2e307439a09ea131;hb=6c098e82fd059487b6097d31cdf8e199de7d792e;hp=870b285cc430795f650d387780be4a7221665434;hpb=cc0ec25b43888a9c807041c31f1fa06a21aae294;p=feisty_meow.git diff --git a/scripts/generator/whack_build.sh b/scripts/generator/whack_build.sh index 870b285c..a9dc095f 100644 --- a/scripts/generator/whack_build.sh +++ b/scripts/generator/whack_build.sh @@ -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" \ + "$FEISTY_MEOW_DIR/generatedJUnitFiles" \ "$CLEANING_TOP/binaries" \ "$CLEANING_TOP/install" \ "$CLEANING_TOP/logs" \ @@ -49,13 +49,11 @@ function whack_single_build_area() if [ "$clean_src" == "clean" -o "$clean_src" == "CLEAN" ]; then echo $(date): " ** Aggressive cleaning activated..." - perl "$REPOSITORY_DIR/scripts/files/zapdirs.pl" "$CLEANING_TOP" >>"$CRUDFILE" + perl "$FEISTY_MEOW_DIR/scripts/files/zapdirs.pl" "$CLEANING_TOP" >>"$CRUDFILE" fi echo $(date): "Cleaned [$choprepo]." - rm -rf "$NEW_TMP" - return 0 } @@ -63,7 +61,5 @@ function whack_single_build_area() # clean all known hierarchies of build products... -whack_single_build_area "$REPOSITORY_DIR" - - +whack_single_build_area "$FEISTY_MEOW_DIR"