index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-19 20:21:42 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-19 20:21:42 +0100 |
commit | c5c3454d34ea0e530014771bbee2f8ee70e65e7b (patch) | |
tree | 6224fc85b2e6f799f231f81fadb8c3f43b2ab6b4 /bin | |
parent | 942b5f002fc473c3a0f1112a2be4bf6fc69fd274 (diff) |
-rwxr-xr-x | bin/build-master-status | 11 |
diff --git a/bin/build-master-status b/bin/build-master-status index eb8da9e..4c44d33 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -228,7 +228,16 @@ if ${web}; then 'package repository' \ 'build slave' printf '</tr>' - find "${work_dir}/package-states" -maxdepth 1 -name '*.locked' -printf '%T@ <tr><td>%TY-%Tm-%Td %TH:%TM</td><td>%f ' -execdir head -n1 {} \; | \ + find "${work_dir}/package-states" -maxdepth 1 -name '*.locked' \ + -printf '%T@ <tr><td>%TY-%Tm-%Td %TH:%TM</td><td>%f ' \ + -execdir sed ' + :a + $!{ + N + s/\n/, / + ba + } + ' '{}' \; | \ sort -k1n,1 | \ sed ' s|^\S\+ || |