index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-04-18 10:26:04 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-18 10:26:04 +0200 |
commit | cbe003cac057aa62ed44c2bef2fed4b10e4e1924 (patch) | |
tree | 8aab9fbc2a1c85dbec7cf1f2a9b957034854a8ca /bin/build-master-status | |
parent | 89018474081803a70d29dc395203ead76787ce6e (diff) |
-rwxr-xr-x | bin/build-master-status | 34 |
diff --git a/bin/build-master-status b/bin/build-master-status index db118e6..04e8ae8 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -168,40 +168,6 @@ if [ -s "${tmp_dir}/todos" ]; then rm -f "${tmp_dir}/todos" fi -{ - printf '%s\n' \ - '<html>' \ - '<head>' \ - '<title>log of ssh connections from build slaves</title>' \ - '</head>' \ - '<body>' \ - '<table>' - printf '<tr>' - printf '<th>%s</th>' \ - 'time' \ - 'build slave' \ - 'command' \ - 'arguments' - printf '</tr>\n' - if [ -r "${work_dir}/ssh-log" ]; then - tac "${work_dir}/ssh-log" | \ - while read -r date time slave command arguments; do - printf '<tr>' - printf '<td>%s</td>' \ - "${date} ${time}" \ - "${slave}" \ - "${command}" \ - "${arguments}" - printf '</tr>\n' - done - fi - printf '%s\n' \ - '</table>' \ - '</body>' \ - '</html>' -} > \ - "${tmp_dir}/ssh-log.html" - find "${tmp_dir}" -maxdepth 1 -type f | \ while read -r file; do cat "${file}" > \ |