summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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