index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-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>' \ |