summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-08-02 16:33:56 +0000
committerintrigeri <intrigeri@boum.org>2016-08-02 16:33:56 +0000
commit1eacc005e8e3629c816f09f58b71cead0430bfb0 (patch)
tree54f3b02acbb9554957f3f54ed4dc174c64b3b221
parent9e777284e8f2fa232caefcc57c5be98fe815d18e (diff)
Release process: make script compatible with Zsh.
$status is a shell read-only variable there.
-rw-r--r--wiki/src/contribute/release_process.mdwn10
1 files changed, 5 insertions, 5 deletions
diff --git a/wiki/src/contribute/release_process.mdwn b/wiki/src/contribute/release_process.mdwn
index 4cfc0e7..73f765a 100644
--- a/wiki/src/contribute/release_process.mdwn
+++ b/wiki/src/contribute/release_process.mdwn
@@ -992,12 +992,12 @@ this release.
echo "Failed to fetch ${url} so manually investigate #${ticket}" >&2
continue
fi
- status=$(echo "${url_content}" | \
+ ticket_status=$(echo "${url_content}" | \
sed -n 's,^.*<th class="status">Status:</th><td class="status">\([^<]\+\)</td>.*$,\1,p')
- if [ "${status}" != "New" ] && \
- [ "${status}" != "Confirmed" ] && \
- [ "${status}" != "In Progress" ]; then
- echo "It seems ticket #${ticket} has been fixed (Status: ${status}) so please find all instances in the wiki and fix them. Ticket URL: ${url}"
+ if [ "${ticket_status}" != "New" ] && \
+ [ "${ticket_status}" != "Confirmed" ] && \
+ [ "${ticket_status}" != "In Progress" ]; then
+ echo "It seems ticket #${ticket} has been fixed (Status: ${ticket_status}) so please find all instances in the wiki and fix them. Ticket URL: ${url}"
fi
done