X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fbuildor%2Frefresh_gffs_build.sh;h=a5b0c1b97a09d2389369d6300cb6b0897b7c8c1f;hb=d87617f212d9dff8d5033b81e19a0740846999fe;hp=8fd9e0f9dce105b0b490ba91914e18828852b023;hpb=14ed959770ad35d91bb8b84a444403dccee5cb4e;p=feisty_meow.git diff --git a/scripts/buildor/refresh_gffs_build.sh b/scripts/buildor/refresh_gffs_build.sh index 8fd9e0f9..a5b0c1b9 100644 --- a/scripts/buildor/refresh_gffs_build.sh +++ b/scripts/buildor/refresh_gffs_build.sh @@ -3,14 +3,25 @@ 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" + +echo cleaning out the logs directory... +\rm -f "$GFFS_LOGS"/*log* + +echo making a simple starting log file for container... +if [ ! -d "$GFFS_LOGS" ]; then + mkdir -p "$GFFS_LOGS" + check_result Making GFFS logs directory. +fi echo building the code freshly, although not with a clean first... build_gffs -if [ $? -ne 0 ]; then - echo failed to build the code. -fi +check_result 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