summaryrefslogtreecommitdiff
path: root/auto/helper-logic
diff options
context:
space:
mode:
Diffstat (limited to 'auto/helper-logic')
-rw-r--r--auto/helper-logic6
1 files changed, 4 insertions, 2 deletions
diff --git a/auto/helper-logic b/auto/helper-logic
index 236035b..7642c9a 100644
--- a/auto/helper-logic
+++ b/auto/helper-logic
@@ -47,8 +47,10 @@ elif [ "$BRANCH" == "equuleus" ]; then
EXCLUDED_DESCRIPTION="sagitta-only"
SELECTED_BRANCH_REGEX="equuleus"
else
- >&2 echo -e "${RED}Unknown branch: $SELECTED_BRANCH, please provide valid \$BRANCH (sagitta or equuleus)${NOCOLOR}"
- exit 1
+ if [ "$BRANCH" != "" ]; then
+ >&2 echo -e "${RED}Unknown branch: $SELECTED_BRANCH, please provide valid \$BRANCH (sagitta or equuleus)${NOCOLOR}"
+ exit 1
+ fi
fi
function PrintHeader {