Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/get-assignment7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index dc881e8..db9e2f4 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -15,7 +15,7 @@
# TODO:
# respect build-manually-list ("blocked")
-# respect broken packages
+# possibly hand out "broken" packages to different build slave
. "${0%/*}/../conf/default.conf"
@@ -23,8 +23,9 @@ mkdir -p "${work_dir}/package-states"
hand_out_assignment() {
- # locked packages won't be handed out
- if [ -f "${work_dir}/package-states/$1.$2.$3.$4.locked" ]; then
+ # locked and broken packages won't be handed out
+ if [ -f "${work_dir}/package-states/$1.$2.$3.$4.locked" ] ||
+ [ -f "${work_dir}/package-states/$1.$2.$3.$4.broken" ]; then
return 0
fi