index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-18 12:50:25 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-18 20:03:46 +0200 |
commit | ed11667e0facdb275b2c7de6f91efb44ac27c849 (patch) | |
tree | d90ef3de1641c5733346242288e08b75de3e20df | |
parent | a3e362ca913f9137d9a7f9b41c853fd880f9a437 (diff) |
-rwxr-xr-x | bin/build-master-status | 18 |
diff --git a/bin/build-master-status b/bin/build-master-status index d6c761e..84e5dc6 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -5,7 +5,7 @@ . "${0%/*}/../conf/default.conf" stable="$( - find "${master_mirror_directory}/i686/" \( -name '*testing' -o -name '*staging' \) -prune -o -name '*.pkg.tar.xz' -print | \ + find "${master_mirror_directory}/i686/" \( -name '*testing' -o -name '*staging' \) -prune -o -name '*.pkg.tar.xz' -print 2> /dev/null | \ wc -l )" tasks="$( @@ -13,20 +13,20 @@ tasks="$( "${work_dir}/build-list" )" pending_packages="$( - sed ' - s| |.|g - s|^|'"${work_dir}"'/package-infos/| - s|\.[^.]\+$|.packages| - ' "${work_dir}"/build-list | \ - xargs -r cat | \ + tr ' ' '.' < \ + "${work_dir}"/build-list | \ + while read -r package; do + generate_package_metadata "${package}" &> /dev/null + cat "${work_dir}/package-infos/${package%.*}.packages" + done | wc -l )" staging="$( - find "${master_mirror_directory}/i686/"*staging -name '*.pkg.tar.xz' | \ + find "${master_mirror_directory}/i686/"*staging -name '*.pkg.tar.xz' 2> /dev/null | \ wc -l )" testing="$( - find "${master_mirror_directory}/i686/"*testing -name '*.pkg.tar.xz' | \ + find "${master_mirror_directory}/i686/"*testing -name '*.pkg.tar.xz' 2> /dev/null | \ wc -l )" broken="$( |