Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Missing [[]] doh!
[releng.git]
/
jjb
/
opnfvdocs
/
docu-build.sh
diff --git
a/jjb/opnfvdocs/docu-build.sh
b/jjb/opnfvdocs/docu-build.sh
index
063ae1c
..
edadc2f
100644
(file)
--- 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)"
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
patchset="/$GERRIT_CHANGE_NUMBER"
fi