index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-09-05 15:47:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-05 15:47:03 +0200 |
commit | 18187f8f540a80aae22b98087b90579b013d6a35 (patch) | |
tree | e3ce48da65ecb3424f8941b8a06b05ff233cc4a1 | |
parent | 15195bc33f0e72d231afa95c06e0aec7a384d6a6 (diff) |
-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| |