X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fbuildor%2Frefresh_gffs_build.sh;h=66f1028e480f5c3288d0a03dc0e99b6e4c009516;hb=d97b497161e9fbf3ef59f970444ece2442adb069;hp=8fd9e0f9dce105b0b490ba91914e18828852b023;hpb=cc7739e6fba1f81152d9657f3f6d718d85aae0f1;p=feisty_meow.git diff --git a/scripts/buildor/refresh_gffs_build.sh b/scripts/buildor/refresh_gffs_build.sh index 8fd9e0f9..66f1028e 100644 --- a/scripts/buildor/refresh_gffs_build.sh +++ b/scripts/buildor/refresh_gffs_build.sh @@ -1,16 +1,28 @@ #!/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" + +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" + exit_on_error 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 +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