summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-17 08:48:48 +0200
committerErich Eckner <git@eckner.net>2017-07-17 08:48:48 +0200
commit9a551f6e6bd651e0984e2891e3de42a3ee129189 (patch)
tree8a16492274388060388b1db4b5a5deffdffe6315 /bin
parent404ac613833c4d0de85edb5c99bb8c27eed637a7 (diff)
downloadbuilder-9a551f6e6bd651e0984e2891e3de42a3ee129189.tar.xz
bin/build-master-status: add link for FS#number
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-master-status3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 62fc6e0..87fac99 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -249,7 +249,8 @@ if [ -n "${broken_output}" ]; then
"${repo}" \
"$(wc -l < "${work_dir}/package-states/${sf}.broken")"
if [ -f "${work_dir}/package-states/${sf}.blocked" ]; then
- tr '\n' ' ' < "${work_dir}/package-states/${sf}.blocked"
+ tr '\n' ' ' < "${work_dir}/package-states/${sf}.blocked" | \
+ sed 's|FS#\([0-9]\+\)|<a href="https://bugs.archlinux.org/task/\1">FS#\1</a>|'
else
printf '&nbsp;'
fi