summaryrefslogtreecommitdiff
path: root/auto/helper-logic
diff options
context:
space:
mode:
authordd <dd@wx.tnyzeq.icu>2024-07-02 15:51:58 +0200
committerdd <dd@wx.tnyzeq.icu>2024-07-02 16:05:30 +0200
commitddbba63f14348afcb4a76b8d2cbe16dc99b04332 (patch)
treeccea73d62d0e4821648c31d5ae9824f74f0f39b4 /auto/helper-logic
parent4913bbd06b9ce73453ff5667f4b195be75adcb0e (diff)
downloadvyos-jenkins-ddbba63f14348afcb4a76b8d2cbe16dc99b04332.tar.gz
vyos-jenkins-ddbba63f14348afcb4a76b8d2cbe16dc99b04332.zip
fixed default BRANCH value
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 {