From 207ad67359916ae71db30bfae3f64d83bfa2fe7b Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Fri, 10 Feb 2017 00:01:33 -0500 Subject: Apex: fixes issue with detecting proper gate scenario Change-Id: I5aaf203f3db5078e462007c78aa9ff13d102c70c Signed-off-by: Tim Rozet --- jjb/apex/apex-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb/apex') diff --git a/jjb/apex/apex-deploy.sh b/jjb/apex/apex-deploy.sh index 790d2a3aa..b68225f15 100755 --- a/jjb/apex/apex-deploy.sh +++ b/jjb/apex/apex-deploy.sh @@ -62,7 +62,7 @@ fi if [ -z "$DEPLOY_SCENARIO" ]; then echo "Deploy scenario not set!" exit 1 -elif [ "$DEPLOY_SCENARIO" == *gate* ]; then +elif [[ "$DEPLOY_SCENARIO" == *gate* ]]; then echo "Detecting Gating scenario..." if [ -z "$GERRIT_EVENT_COMMENT_TEXT" ]; then echo "ERROR: Gate job triggered without comment!" -- cgit 1.2.3-korg