From 8bb2b6bfbcac89910ec6b5cc58e23243571ab879 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 26 Mar 2019 09:04:45 -0400 Subject: [PATCH] Add extra verbosity covering non-client-building branches in startup. --- scripts/common_startup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/common_startup.sh b/scripts/common_startup.sh index 65a9545536f..7c0073f50e6 100755 --- a/scripts/common_startup.sh +++ b/scripts/common_startup.sh @@ -210,10 +210,12 @@ if [ $SKIP_CLIENT_BUILD -eq 0 ]; then # If git is not used and static/client_build_hash.txt is present, next # client rebuilds must be done manually by the admin if [ "$GIT_BRANCH" = "0" ]; then + echo "Skipping Galaxy client build because git is not in use and the client build state cannot be compared against local changes. If you have made local modifications manual client builds will be required." SKIP_CLIENT_BUILD=1 else # Check if anything has changed in client/ since the last build if git diff --quiet $(cat static/client_build_hash.txt) -- client/; then + echo "The Galaxy client build is up to date and will not be rebuilt at this time." SKIP_CLIENT_BUILD=1 else echo "The Galaxy client is out of date and will be built now." @@ -222,6 +224,8 @@ if [ $SKIP_CLIENT_BUILD -eq 0 ]; then else echo "The Galaxy client has not yet been built and will be built now." fi +else + echo "The Galaxy client build is being skipped due to the SKIP_CLIENT_BUILD env var." fi # Install node if not installed