summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-15 13:19:59 +0200
committerErich Eckner <git@eckner.net>2019-05-15 13:19:59 +0200
commit96a72d118f8715f6f333cf129a6b79f5a07da582 (patch)
treecf5f03b62566e07547e70a015876f5ec6df81829
parent33826c4667b903aa37318cc032c04957f43e540d (diff)
downloadbuilder-96a72d118f8715f6f333cf129a6b79f5a07da582.tar.xz
bin/get-package-updates: remove unnecessary name match of architecture
-rwxr-xr-xbin/get-package-updates4
1 files changed, 2 insertions, 2 deletions
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' \