Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/seed-build-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-04 10:31:39 +0200
committerErich Eckner <git@eckner.net>2018-06-04 10:31:39 +0200
commitfaa9172fa760425f05cce8b5d346f944bfc5b5fd (patch)
treedc6ab58cf665cf73f9d812c50baa41ba668f1e02 /bin/seed-build-list
parentcbf8fe7d900b3e33f26d1d73e0a0061a0115455a (diff)
bin/seed-build-list: use id of repositories
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-xbin/seed-build-list5
1 files changed, 3 insertions, 2 deletions
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`'