trying a few more tricks to get jenkins happy.
[feisty_meow.git] / scripts / generator / bootstrap_build.sh
index b107cff672cdf39205dc717cefaa74b3bfab3e9d..aa96a51859f106163009767ebea9a0e22cd5f299 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"
@@ -63,6 +65,11 @@ echo "Build bootstrap process has started."
 
 # preconditions for the build process...
 
+# clean out the logs directory so we are all fresh.
+\rm -rf "$LOGS_DIR" "$BUILD_TOP/generatedJUnitFiles"
+mkdir "$LOGS_DIR"  # make this again so no one gets cranky.
+
+# set up our output directories etc.
 prepare_binaries_dir
 
 # set a flag for this process so we can omit certain compilations as necessary.