summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-05-01 08:57:41 +0200
committerMichał Górny <mgorny@gentoo.org>2019-04-09 13:05:55 +0200
commit8058acaebe7a9651b31e612de59c921abfffd6f1 (patch)
tree2e8813cd357a8b2a78f0eb7f55aa1b0871b8a46d
parentpostrecv-bugs: Revert the arch team part for now (diff)
downloadgithooks-8058acaebe7a9651b31e612de59c921abfffd6f1.tar.gz
githooks-8058acaebe7a9651b31e612de59c921abfffd6f1.tar.bz2
githooks-8058acaebe7a9651b31e612de59c921abfffd6f1.zip
postrecv-bugs: Fix spurious '}' in comments
Closes: https://bugs.gentoo.org/654454
-rwxr-xr-xlocal/postrecv-bugs4
1 files changed, 2 insertions, 2 deletions
diff --git a/local/postrecv-bugs b/local/postrecv-bugs
index 1b5ab36..655901a 100755
--- a/local/postrecv-bugs
+++ b/local/postrecv-bugs
@@ -94,7 +94,7 @@ for bug in "${!CLOSE_BUGS[@]}"; do
if [[ -n ${COMMENT_BUGS[${bug}]} ]]; then
msg+="
-Additionally, it has been referenced in the following commit(s):${COMMENT_BUGS[${bug}]}}"
+Additionally, it has been referenced in the following commit(s):${COMMENT_BUGS[${bug}]}"
fi
bugz modify -s RESOLVED -r FIXED -c "${msg}" "${bug}"
@@ -103,7 +103,7 @@ done
for bug in "${!COMMENT_BUGS[@]}"; do
[[ -n ${CLOSE_BUGS[${bug}]} ]] && continue
- msg="The bug has been referenced in the following commit(s):${COMMENT_BUGS[${bug}]}}"
+ msg="The bug has been referenced in the following commit(s):${COMMENT_BUGS[${bug}]}"
bugz modify -c "${msg}" "${bug}"
done