summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
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 15ac1a5..54bf3de 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -88,9 +88,9 @@ stable="$(
grep -c '\.pkg\.tar\.xz$'
)"
tasks="$(
- wc -l < \
+ grep -c '^\S\+ \S\+ \S\+ \S\+$' \
"${work_dir}/build-list"
- )"
+ )" || true
pending_packages="$(
tr ' ' '.' < \
"${work_dir}"/build-list | \