From dcf4b3d4515a0d220c770144c09ec29566c77155 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 5 Aug 2026 13:40:21 -0700 Subject: [PATCH] setup, handle the lowercase branch variable more properly. --- setup.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index ac09970..9cb8ef2 100755 --- a/setup.sh +++ b/setup.sh @@ -61,9 +61,13 @@ if [[ ! -z $1 && $1 != "-"* ]]; then usage 1 fi -if [[ -z "$local" && "$branch" == "" ]]; then - echo "Using default branch $BRANCH." +if [[ "$branch" == "" ]]; then branch="$BRANCH" + if [[ -z "$local" ]]; then + echo "Running against default branch '$branch'." + else + echo "Set branch to '$branch'." + fi fi if [[ -n "$create_general" && -f "$general_config" ]]; then