From 96a72d118f8715f6f333cf129a6b79f5a07da582 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 15 May 2019 13:19:59 +0200 Subject: bin/get-package-updates: remove unnecessary name match of architecture --- bin/get-package-updates | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index c74d36f..ceab21a 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -305,11 +305,11 @@ echo 'Check modified packages from the last update, and put them to the build li printf 'SELECT DISTINCT CONCAT(' printf '`package_sources`.`pkgbase`,"/repos/",' printf '`upstream_repositories`.`name`,"-",' - printf 'IF(`architectures`.`name`="any","any","x86_64"))' + printf 'IF(`build_assignments`.`architecture`=%s,"any","x86_64"))' \ + "${architecture_ids__any}" printf ' FROM `binary_packages`' mysql_join_binary_packages_binary_packages_in_repositories mysql_join_binary_packages_build_assignments - mysql_join_build_assignments_architectures mysql_join_build_assignments_package_sources mysql_join_package_sources_upstream_repositories printf ' WHERE `binary_packages_in_repositories`.`repository`=%s;\n' \ -- cgit v1.2.3