summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-xbin/build-master-status7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 2bb576b..d95eddb 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -87,11 +87,14 @@ pending_packages=$(
next_tasks=$(
{
cat "${work_dir}/build-list"
- find "${work_dir}/package-states" -maxdepth 1 -name '*.broken' -printf '%f\n' | \
+ find "${work_dir}/package-states" -maxdepth 1 \
+ \( -name '*.broken' -o -name '*.blocked' \) \
+ -printf '%f\n' | \
sed '
s|\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)\.[^.]\+$| \1 \2 \3|
p
- '
+ ' | \
+ sort -u
} | \
sort | \
uniq -u | \