index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-28 14:01:08 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-28 14:01:08 +0100 |
commit | 524ad19e1ea39627b7193caabf5cf16b5f52265e (patch) | |
tree | c2497101bc258d7e740838230a92e90337b5416b | |
parent | c89fdcf9fc4a308c404bb77da4aa9c8e3877ce53 (diff) |
-rwxr-xr-x | bin/build-master-status | 20 |
diff --git a/bin/build-master-status b/bin/build-master-status index bf307b4..d1ed751 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -561,16 +561,16 @@ if ${web}; then 'arguments' printf '</tr>\n' if [ -r "${work_dir}/ssh-log" ]; then - while read -r date time slave command arguments; do - printf '<tr>' - printf '<td>%s</td>' \ - "${date} ${time}" \ - "${slave}" \ - "${command}" \ - "${arguments}" - printf '</tr>\n' - done < \ - "${work_dir}/ssh-log" + 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>' \ |