From: Aric Gardner Date: Wed, 27 May 2015 15:02:22 +0000 (-0400) Subject: Missing [[]] doh! X-Git-Tag: arno.2015.1.0~14 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=62ea12c5847bfa0e19880890d90d0d2425b90906 Missing [[]] doh! Change-Id: I073888c96362011500e3206d779707ac6b86b111 JIRA: DOCS-36 Signed-off-by: Aric Gardner --- 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