making more armored against missing configs.
authorChris Koeritz <fred@gruntose.com>
Mon, 16 Jan 2012 05:59:28 +0000 (00:59 -0500)
committerChris Koeritz <fred@gruntose.com>
Mon, 16 Jan 2012 05:59:28 +0000 (00:59 -0500)
scripts/generator/bootstrap_build.sh
scripts/generator/whack_build.sh

index b107cff672cdf39205dc717cefaa74b3bfab3e9d..5a07d9bc183c3aef4331d87e2e4f8fc193c02a35 100644 (file)
@@ -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"
index bedd3a098b79be756b75a87daccc52bc76ae5bb0..6b0522500fa750ea450f924eee8396d4fe7eee7b 100644 (file)
@@ -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]."