summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs/docu-build.sh
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2015-05-27 11:02:22 -0400
committerAric Gardner <agardner@linuxfoundation.org>2015-05-27 11:02:22 -0400
commit62ea12c5847bfa0e19880890d90d0d2425b90906 (patch)
treeccd1a599b915ed19b54600660c809fe67adf2c1b /jjb/opnfvdocs/docu-build.sh
parent7557c70b1087c9959aea054e92e7ec73da845092 (diff)
Missing [[]] doh!
Change-Id: I073888c96362011500e3206d779707ac6b86b111 JIRA: DOCS-36 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/opnfvdocs/docu-build.sh')
-rw-r--r--jjb/opnfvdocs/docu-build.sh2
1 files changed, 1 insertions, 1 deletions
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