Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-28 08:46:22 +0200
committerErich Eckner <git@eckner.net>2017-09-28 08:46:22 +0200
commit37c0dc863966411486048114dfabee9d65332a90 (patch)
tree23973d31727446a7746d4c321301be2ce5955641 /bin/build-master-status
parentdff05d0c5f09298cd53d76dd926a3826c61aed39 (diff)
bin/build-master-status: bugfix if no staging/testing packages
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-xbin/build-master-status4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 498405e..50f86a5 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -102,7 +102,7 @@ staging=$(
ls_master_mirror "i686/${dir}"
done | \
grep -c '\.pkg\.tar\.xz$'
-)
+) || true
testing=$(
ls_master_mirror 'i686' | \
grep 'testing$' | \
@@ -110,7 +110,7 @@ testing=$(
ls_master_mirror "i686/${dir}"
done | \
grep -c '\.pkg\.tar\.xz$'
-)
+) || true
(
find "${work_dir}/package-states/" -maxdepth 1 -name '*.broken' -printf '%f\n' | \
sed 's|\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)\.[^.]\+$| \1 \2 \3|' | \