From 37c0dc863966411486048114dfabee9d65332a90 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 28 Sep 2017 08:46:22 +0200 Subject: bin/build-master-status: bugfix if no staging/testing packages --- bin/build-master-status | 4 ++-- 1 file 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|' | \ -- cgit v1.2.3-70-g09d2