From faa9172fa760425f05cce8b5d346f944bfc5b5fd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 4 Jun 2018 10:31:39 +0200 Subject: bin/seed-build-list: use id of repositories --- bin/seed-build-list | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/seed-build-list b/bin/seed-build-list index 8bdc167..7905a17 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -207,8 +207,9 @@ fi printf ' SELECT DISTINCT `ignore_bin`.`pkgname`' printf ' FROM `binary_packages` AS `ignore_bin`' mysql_join_binary_packages_binary_packages_in_repositories 'ignore_bin' - mysql_join_binary_packages_in_repositories_repositories - printf ' WHERE `repositories`.`name` IN ("build-list","deletion-list")' + printf ' WHERE `binary_packages_in_repositories`.`repository` IN (%s,%s)' \ + "${repository_ids__any_build_list}" \ + "${repository_ids__any_deletion_list}" # packages with no not-to-be-deleted and at least on to-be-deleted version should be ignored printf ' OR (' printf '`binary_packages_in_repositories`.`is_to_be_deleted`' -- cgit v1.2.3-70-g09d2