Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-master-status7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 45376c2..d474770 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -202,7 +202,12 @@ if [ $((${testing}+${staging}+${pending_packages}-${broken})) -ne 0 ]; then
fi
if ${web}; then
- sed -i 's|$|<br>|' "${tmp_dir}/build-master-status.html"
+ (
+ printf '<html>\n<head>\n<title>Status of archlinux32 build master</title>\n</head>\n<body>\n'
+ sed 's|$|<br>|' "${tmp_dir}/build-master-status.html"
+ printf '</body>\n</html>'
+ ) | \
+ sponge "${tmp_dir}/build-master-status.html"
end=$(($(date +%s)-7*24*60*60))
(
[ -f "${webserver_directory}/statistics" ] && \