fi
local choprepo="$(basename "$(dirname "$CLEANING_LOCALE")" )/$(basename "$CLEANING_LOCALE")"
- echo $(date): "Cleaning up [$choprepo]..."
+ echo $(date): "cleaning up [$choprepo]..."
if [ -z "$CLEANING_LOCALE" ]; then
echo "The CLEANING_LOCALE variable is not set!"
exit 3
CLEANING_TOP="$CLEANING_LOCALE/production"
-# echo $(date): " Cleaning up the build products..."
+# echo $(date): " cleaning up the build products..."
# 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 \
+ "$FEISTY_MEOW_DIR/generatedJUnitFiles" \
"$CLEANING_TOP/binaries" \
"$CLEANING_TOP/install" \
"$CLEANING_TOP/logs" \
"$CLEANING_TOP/__build_"*.h \
"$CLEANING_TOP/manifest.txt"
-# echo $(date): " Cleaning generated files in source hierarchy..."
+# echo $(date): " cleaning generated files in source hierarchy..."
if [ "$clean_src" == "clean" -o "$clean_src" == "CLEAN" ]; then
- echo $(date): " ** Aggressive cleaning activated..."
- perl "$REPOSITORY_DIR/scripts/files/zapdirs.pl" "$CLEANING_TOP" >>"$CRUDFILE"
+ echo $(date): " ** aggressive cleaning activated..."
+ perl "$FEISTY_MEOW_SCRIPTS/files/zapdirs.pl" "$FEISTY_MEOW_DIR" >>"$CRUDFILE"
fi
- echo $(date): "Cleaned [$choprepo]."
-
+ echo $(date): "cleaned [$choprepo]."
rm -rf "$NEW_TMP"
-
return 0
}
# clean all known hierarchies of build products...
-whack_single_build_area "$REPOSITORY_DIR"
-
-
+whack_single_build_area "$FEISTY_MEOW_DIR"