index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/build-master-status | 4 |
diff --git a/bin/build-master-status b/bin/build-master-status index 080cc15..758fbb3 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -217,8 +217,10 @@ if ${web}; then 'package repository' \ 'build slave' printf '</tr>' - find "${work_dir}/package-states" -maxdepth 1 -name '*.locked' -printf '<tr><td>%TY-%Tm-%Td %TH:%TM</td><td>%f ' -execdir cat {} \; | \ + find "${work_dir}/package-states" -maxdepth 1 -name '*.locked' -printf '%T@ <tr><td>%TY-%Tm-%Td %TH:%TM</td><td>%f ' -execdir head -n1 {} \; | \ + sort -k1n,1 | \ sed ' + s|^\S\+ || s|$|</td></tr>| s|\.locked |</td><td>| s|\.\([^.]\+\)$|</td><td>\1| |