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