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-07-26 21:41:37 +0200
committerErich Eckner <git@eckner.net>2018-07-26 21:41:37 +0200
commit20cfbcec193b27f8a88a1b27f696e4256a7c5c50 (patch)
tree6452216e96512fdf061924329fe81c85beae443e /bin/return-assignment
parent2f7fc71537b2085b05011e166ac338c3f614a1aa (diff)
bin/return-assignment: fix typos
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment22
1 files changed, 1 insertions, 21 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 08e43f8..9ccb80e 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -724,6 +724,7 @@ trigger_mirror_refreshs
printf ' OR `%s`.`architecture`=%s' \
'early_bp' "${architecture_ids__any}" \
'binary_packages' "${architecture_ids__any}"
+ printf ';\n'
join_part=$(
printf ' JOIN `pkg_hashes`'
@@ -769,27 +770,6 @@ trigger_mirror_refreshs
"${repository_ids__any_build_list}"
printf 'COMMIT;\n'
- printf ' AND NOT EXISTS ('
- printf 'SELECT 1 FROM `toolchain_order` AS `late`'
- printf ' JOIN `toolchain_order` AS `early`'
- printf ' ON `early`.`number`<`late`.`number`'
- printf ' AND `early`.`pkgbase`!=`late`.`pkgbase`'
- printf ' JOIN `package_sources` AS `early_ps`'
- printf ' ON `early_ps`.`pkgbase`=`early`.`pkgbase`'
- mysql_join_package_sources_build_assignments 'early_ps' 'early_ba'
- mysql_join_build_assignments_binary_packages 'early_ba' 'early_bp'
- mysql_join_binary_packages_binary_packages_in_repositories 'early_bp' 'early_bpir'
- printf ' AND `early_bpir`.`repository`=%s' \
- "${repository_ids__any_build_list}"
- printf ' WHERE `late`.`pkgbase`=`package_sources`.`pkgbase`'
- printf ' AND ('
- printf '`early_bp`.`architecture`=`binary_packages`.`architecture`'
- printf ' OR `%s`.`architecture`=%s' \
- 'early_bp' "${architecture_ids__any}" \
- 'binary_packages' "${architecture_ids__any}"
- printf ')'
- printf ');\n'
-
# update package information
printf 'UPDATE `binary_packages`'
printf ' SET'