summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-18 13:32:29 +0200
committerErich Eckner <git@eckner.net>2017-10-18 13:32:29 +0200
commitc2ae5daa8b4a648aa9a56af892056c9d5d4a5b10 (patch)
tree2c6e885ddc0c851a7dd8f26593df05d9796dee8a /bin/build-master-status
parenta24344e0a705369301942a9d9ac5d3c4a24a8326 (diff)
downloadbuilder-c2ae5daa8b4a648aa9a56af892056c9d5d4a5b10.tar.xz
bin/build-master-status: correct links to build logs
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-xbin/build-master-status4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 7f0a51b..1dc9e62 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -298,7 +298,7 @@ if ${web}; then
"$(wc -l < "${work_dir}/package-states/${sf}.broken")" \
"$(
# shellcheck disable=SC2010
- ls -t "${webserver_directory}/build-logs" | \
+ ls -t "${webserver_directory}/build-logs/error" | \
grep -m1 "^$(str_to_regex "${sf}.")[^.]\+\.build-log\.gz\$"
)" \
"$(
@@ -367,7 +367,7 @@ if ${web}; then
"${rev}" \
"${mod_rev}" \
"${repo}" \
- '<a href="build-logs/'"${log_file}"'">'"${count}"'</a>' \
+ '<a href="build-logs/error/'"${log_file}"'">'"${count}"'</a>' \
"${dependent}" \
"${reason}"
printf '</tr>\n'