Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-master-status18
1 files changed, 9 insertions, 9 deletions
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="$(