From 53235d7796b666cb678483fa12d5c527d9c7b854 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 13 Feb 2018 15:46:02 +0100 Subject: bin/return-assignment: only build-list packages are expected to have been built --- bin/return-assignment | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') 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 | \ -- cgit v1.2.3-70-g09d2