X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fgenerator%2Fwhack_build.sh;h=82812e93b8988f1b666a0d0bff1581f83fd19c1b;hb=3bfed2b716ed455d47d99835e6ee0e16afff584e;hp=0647b0ab430417f1a8106b98bfca47a0db78dc34;hpb=c041a073fe44baafa4ebcb516c7d377d52fff054;p=feisty_meow.git diff --git a/scripts/generator/whack_build.sh b/scripts/generator/whack_build.sh index 0647b0ab..82812e93 100644 --- a/scripts/generator/whack_build.sh +++ b/scripts/generator/whack_build.sh @@ -20,7 +20,8 @@ function whack_single_build_area() exit 3 fi - export NEW_TMP="$(mktemp -d "$CLEANING_LOCALE/TEMPS.XXXXXX")" +#old export NEW_TMP="$(mktemp -d "$CLEANING_LOCALE/TEMPS.XXXXXX")" + export NEW_TMP="$(mktemp -d "$TMP/temps-build-whacking.XXXXXX")" export CRUDFILE="$(mktemp "$NEW_TMP/whack_build.XXXXXX")" echo "" &>"$CRUDFILE" @@ -30,10 +31,11 @@ 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_TOP/waste" + local GENERATED_DIR="$CLEANING_TOP/generated-feisty_meow" +#*** hmmm: above is wrong place now! local TEMPORARIES_DIR="$CLEANING_TOP/temporaries" - # kerzap. + # kerzap. the few cleanups in production directory remove older locations of generated files. rm -rf \ "$FEISTY_MEOW_DIR/generatedJUnitFiles" \ "$CLEANING_TOP/binaries" \ @@ -41,9 +43,14 @@ function whack_single_build_area() "$CLEANING_TOP/logs" \ "$CLEANING_TOP/objects" \ "$TEMPORARIES_DIR" \ - "$WASTE_DIR" \ + "$GENERATED_DIR" \ "$CLEANING_TOP/__build_"*.h \ - "$CLEANING_TOP/manifest.txt" + "$CLEANING_TOP/manifest.txt" \ + "$PRODUCTION_DIR/clam_bin" \ + "$PRODUCTION_DIR/binaries" \ + "$PRODUCTION_DIR/install" \ + "$PRODUCTION_DIR/logs" \ + "$PRODUCTION_DIR/waste" # echo $(date): " cleaning generated files in source hierarchy..."