aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-07-20 10:10:09 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-07-20 10:11:40 +0300
commita13dd1129669b87f69d62aaff00a7e2cc2d2c008 (patch)
tree0ef22eb67f78ef9e95174719a0691e8d0d8df661
parentpostrecv-bugs: ensure resolution is empty first (diff)
downloadgithooks-a13dd1129669b87f69d62aaff00a7e2cc2d2c008.tar.gz
githooks-a13dd1129669b87f69d62aaff00a7e2cc2d2c008.tar.bz2
githooks-a13dd1129669b87f69d62aaff00a7e2cc2d2c008.zip
postrecv-bugs: fix closes invocation
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rwxr-xr-xlocal/postrecv-bugs2
1 files changed, 1 insertions, 1 deletions
diff --git a/local/postrecv-bugs b/local/postrecv-bugs
index cf8097a..76d1353 100755
--- a/local/postrecv-bugs
+++ b/local/postrecv-bugs
@@ -127,7 +127,7 @@ for bug in "${!CLOSE_BUGS[@]}"; do
Additionally, it has been referenced in the following commit(s):${COMMENT_BUGS[${bug}]}"
fi
- bugz modify -s RESOLVED -r "${CLOSE_RESO[bug]}" -c "${msg}" "${bug}"
+ bugz modify -s RESOLVED -r "${CLOSE_RESO[${bug}]}" -c "${msg}" "${bug}"
done
for bug in "${!COMMENT_BUGS[@]}"; do