Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Update docker job templates gerrit trigger regexes
[releng/global-jjb.git]
/
shell
/
gerrit-branch-lock.sh
diff --git
a/shell/gerrit-branch-lock.sh
b/shell/gerrit-branch-lock.sh
index
f884c1d
..
8cfbe4a
100644
(file)
--- a/
shell/gerrit-branch-lock.sh
+++ b/
shell/gerrit-branch-lock.sh
@@
-26,7
+26,7
@@
install_gerrit_hook() {
ssh_port=$(git remote show origin | grep Fetch | grep 'ssh://' \
| awk -F'/' '{print $3}' | awk -F':' '{print $2}')
- if [ -z
$ssh_url
]; then
+ if [ -z
"$ssh_url"
]; then
echo "ERROR: Gerrit SSH URL not found."
exit 1
fi