summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-13 15:46:02 +0100
committerErich Eckner <git@eckner.net>2018-02-13 15:46:02 +0100
commit53235d7796b666cb678483fa12d5c527d9c7b854 (patch)
treee64dd4d1aea48757c0449dffa3667a7652f423f3 /bin
parente3021bb9a8bcd9d58e69034312354f9a45dccd3f (diff)
downloadbuilder-53235d7796b666cb678483fa12d5c527d9c7b854.tar.xz
bin/return-assignment: only build-list packages are expected to have been built
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 7d8a609..e107124 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -403,11 +403,13 @@ package_errors=$(
printf ' FROM `binary_packages`'
printf ' JOIN `architectures` ON `architectures`.`id`=`binary_packages`.`architecture`'
printf ' JOIN `build_slaves` ON `build_slaves`.`currently_building`=`binary_packages`.`build_assignment`'
+ printf ' JOIN `repositories` ON `binary_packages`.`repository`=`repositories`.`id`'
printf ' WHERE `build_slaves`.`name`=from_base64("%s")' \
"$(
printf '%s' "${slave}" | \
base64 -w0
)"
+ printf ' AND `repositories`.`name`="build-list"'
printf ';\n'
} | \
${mysql_command} --raw --batch | \