index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/get-assignment | 7 |
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 |