Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-30 13:58:05 +0200
committerErich Eckner <git@eckner.net>2018-05-30 13:58:05 +0200
commit8015b6a2e6f3e977e68e14eab3c32de0c6d53c07 (patch)
treedc860896823b863535ea6dc74d782126573580a7 /bin/get-package-updates
parentfbc103db001070314ef2fbd5bb86249337fb1181 (diff)
bin/get-package-updates: do not write `binary_packages`.`repository`
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates9
1 files changed, 2 insertions, 7 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 21e8a62..34e9753 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -129,10 +129,7 @@ delete_package() {
mysql_join_build_assignments_package_sources
mysql_join_binary_packages_binary_packages_in_repositories
# shellcheck disable=SC2154
- printf ' SET `binary_packages`.`repository`=%s,' \
- "${repository_ids__any_deletion_list}"
- # shellcheck disable=SC2154
- printf '`binary_packages_in_repositories`.`repository`=%s' \
+ printf ' SET `binary_packages_in_repositories`.`repository`=%s' \
"${repository_ids__any_deletion_list}"
# shellcheck disable=SC2154
printf ' WHERE `binary_packages_in_repositories`.`repository` in (%s,%s)' \
@@ -595,9 +592,7 @@ echo 'Done - mark decisions as final.'
# move binary_packages from "to-be-decided" to "build-list"
printf 'UPDATE `binary_packages`'
mysql_join_binary_packages_binary_packages_in_repositories
- printf ' SET `binary_packages`.`repository`=%s,' \
- "${repository_ids__any_build_list}"
- printf '`binary_packages_in_repositories`.`repository`=%s' \
+ printf ' SET `binary_packages_in_repositories`.`repository`=%s' \
"${repository_ids__any_build_list}"
printf ' WHERE `binary_packages_in_repositories`.`repository`=%s;\n' \
"${repository_ids__any_to_be_decided}"