updated to clean home_store
[feisty_meow.git] / scripts / generator / jenkins_builder.sh
index eff06400e3779865f4ba57c6d5dde3f1506596b2..3b67d6e38afa9c3a6b40100d76ba20d4bc2ed0e4 100644 (file)
@@ -14,11 +14,16 @@ if [ -z "$feisty_path" ]; then
 fi
 
 export RUN_ALL_TESTS=true
+# clean up any old home storage paths.
+\rm -rf "$feisty_path/home_store".*
+# set home folder to a new home_store.random folder, for anything that
+# feisty meow needs to store under $HOME.
 export HOME="$(mktemp -d "$feisty_path/home_store.XXXXXX")"
 cd "$feisty_path"
+export FEISTY_MEOW_APEX="$(\pwd)"
+export FEISTY_MEOW_SCRIPTS=$FEISTY_MEOW_APEX/scripts
 bash "$feisty_path/scripts/core/reconfigure_feisty_meow.sh"
 source "$feisty_path/scripts/core/launch_feisty_meow.sh"
-echo after probably hosed launch
 var FEISTY_MEOW_APEX FEISTY_MEOW_SCRIPTS
 bash "$feisty_path/scripts/generator/produce_feisty_meow.sh"