X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fgenerator%2Fwhack_build.sh;h=fc391248f2c5885a0af0052dfc185ef101716102;hb=a5cb8184848bac3d3c484a72a90ec1ff08919288;hp=bedd3a098b79be756b75a87daccc52bc76ae5bb0;hpb=2952ccf47b80174880141a7ecfa122089f349b8d;p=feisty_meow.git diff --git a/scripts/generator/whack_build.sh b/scripts/generator/whack_build.sh index bedd3a09..fc391248 100644 --- a/scripts/generator/whack_build.sh +++ b/scripts/generator/whack_build.sh @@ -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" - -