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