modified error handling methods
[feisty_meow.git] / scripts / buildor / refresh_gffs_build.sh
index 8eb04e8751ef72371bf993cabcf0af72a205dffd..66f1028e480f5c3288d0a03dc0e99b6e4c009516 100644 (file)
@@ -1,9 +1,10 @@
 #!/bin/bash
 
-source $FEISTY_MEOW_SCRIPTS/buildor/gffs_builders.sh
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/buildor/gffs_builders.sh"
 
 echo stopping any running genesis processes...
-bash $XSEDE_TEST_ROOT/library/zap_genesis_javas.sh 
+bash $GFFS_TOOLKIT_ROOT/library/zap_genesis_javas.sh 
 
 export GFFS_LOGS="$HOME/.GenesisII"
 
@@ -13,15 +14,15 @@ echo cleaning out the logs directory...
 echo making a simple starting log file for container...
 if [ ! -d "$GFFS_LOGS" ]; then
   mkdir -p "$GFFS_LOGS"
-  check_result Making GFFS logs directory.
+  exit_on_error Making GFFS logs directory.
 fi
 
 echo building the code freshly, although not with a clean first...
 build_gffs 
-check_result Building GFFS source code.
+exit_on_error Building GFFS source code.
 
 echo starting container now and spooling its log file...
-(bash $XSEDE_TEST_ROOT/library/maybe_restart_container.sh &>$TMP/container_restarty.log & )
+(bash $GFFS_TOOLKIT_ROOT/library/maybe_restart_container.sh &>$TMP/main_container_restarting.log & )
 # snooze a bit so the container gets a chance to write something.
 sleep 4
 tail -f ~/.GenesisII/container.log