From 45546b6a31e900d78fe2c0344636a2d132633e4f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 5 Jun 2018 10:56:07 +0200 Subject: bin/return-assignment: identify build-list by id --- bin/return-assignment | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/return-assignment b/bin/return-assignment index f68118f..5d9b5a7 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -663,8 +663,8 @@ trigger_mirror_refreshs printf ' SELECT `build_dependency_loops`.`loop` FROM `build_dependency_loops`' mysql_join_build_dependency_loops_binary_packages mysql_join_binary_packages_binary_packages_in_repositories - mysql_join_binary_packages_in_repositories_repositories - printf ' WHERE NOT `repositories`.`name` = "build-list";\n' + printf ' WHERE NOT `binary_packages_in_repositories`.`repository`=%s;\n' \ + "${repository_ids__any_build_list}" printf 'COMMIT;\n' printf 'DELETE FROM `build_dependency_loops` WHERE EXISTS (' printf 'SELECT 1 FROM `loops_to_delete`' -- cgit v1.2.3-70-g09d2