From 4cba11c31bb83ff62fc3bdc9b246cb55d9612c02 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 16 Jan 2012 00:59:28 -0500 Subject: [PATCH] making more armored against missing configs. --- scripts/generator/bootstrap_build.sh | 2 ++ scripts/generator/whack_build.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/generator/bootstrap_build.sh b/scripts/generator/bootstrap_build.sh index b107cff6..5a07d9bc 100644 --- a/scripts/generator/bootstrap_build.sh +++ b/scripts/generator/bootstrap_build.sh @@ -31,6 +31,8 @@ export BUILD_SCRIPTS_DIR="$( \cd "$(\dirname "$0")" && \pwd )" echo build script initial from bootstrap: $BUILD_SCRIPTS_DIR BUILD_SCRIPTS_DIR="$(echo $BUILD_SCRIPTS_DIR | tr '\\\\' '/' )" echo build script after: $BUILD_SCRIPTS_DIR +# load in feisty meow basic scripts, if not already loaded. +source "$BUILD_SCRIPTS_DIR/../core/profile.sh" # drop any previous version of the repository variable. unset REPOSITORY_DIR source "$BUILD_SCRIPTS_DIR/build_variables.sh" "$BUILD_SCRIPTS_DIR/build_variables.sh" diff --git a/scripts/generator/whack_build.sh b/scripts/generator/whack_build.sh index bedd3a09..6b052250 100644 --- a/scripts/generator/whack_build.sh +++ b/scripts/generator/whack_build.sh @@ -48,7 +48,7 @@ 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]." -- 2.34.1