From 62ea12c5847bfa0e19880890d90d0d2425b90906 Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Wed, 27 May 2015 11:02:22 -0400 Subject: [PATCH] Missing [[]] doh! Change-Id: I073888c96362011500e3206d779707ac6b86b111 JIRA: DOCS-36 Signed-off-by: Aric Gardner --- jjb/opnfvdocs/docu-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/opnfvdocs/docu-build.sh b/jjb/opnfvdocs/docu-build.sh index 063ae1c7d..edadc2fb1 100644 --- a/jjb/opnfvdocs/docu-build.sh +++ b/jjb/opnfvdocs/docu-build.sh @@ -8,7 +8,7 @@ export PATH=$PATH:/usr/local/bin/ git_sha1="$(git rev-parse HEAD)" docu_build_date="$(date)" -if $GERRIT_EVENT_TYPE="patchset-created"; then +if [[ $GERRIT_EVENT_TYPE = "patchset-created" ]] ; then patchset="/$GERRIT_CHANGE_NUMBER" fi -- 2.16.6