Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-03 15:08:57 +0200
committerErich Eckner <git@eckner.net>2017-08-03 15:08:57 +0200
commit7b12fd3b9be90d264ca2749f91a497eebba06eeb (patch)
tree5eb16d03073db7f977a1abeaba55377368575c79 /bin/build-master-status
parent8cdec0bf107af726c991cd433f84d54be48b7e1f (diff)
bin/build-master-status: include title for status webpage
Diffstat (limited to 'bin/build-master-status')
-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" ] && \