Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-05 10:56:07 +0200
committerErich Eckner <git@eckner.net>2018-06-05 10:56:07 +0200
commit45546b6a31e900d78fe2c0344636a2d132633e4f (patch)
tree966b12826b766bd55b3649c532f24598996388e2 /bin/return-assignment
parent58bda3974d579da5cbd63454f9e853483c67232e (diff)
bin/return-assignment: identify build-list by id
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment4
1 files changed, 2 insertions, 2 deletions
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`'