Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-01 10:59:38 +0200
committerErich Eckner <git@eckner.net>2018-06-01 10:59:38 +0200
commit20115804948451696b471277e9d6f5adcce6a48e (patch)
tree96dcd5ebcdc9186deabba8a0024766959480c282 /bin
parent47d6fe5c0df5e20b5a98cb3a1be777d366de4f0f (diff)
bin/sanity-check: style cleanup
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sanity-check9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/sanity-check b/bin/sanity-check
index 502ab63..b2f11c2 100755
--- a/bin/sanity-check
+++ b/bin/sanity-check
@@ -179,14 +179,15 @@ while [ $# -gt 0 ]; do
errors=$(
# shellcheck disable=SC2016
{
- printf 'SELECT `architectures`.`name`,`package_sources`.`pkgbase` FROM `package_sources`'
+ printf 'SELECT `architectures`.`name`,`package_sources`.`pkgbase`'
+ printf ' FROM `package_sources`'
mysql_join_package_sources_build_assignments
mysql_join_build_assignments_architectures
printf ' WHERE EXISTS('
- printf 'SELECT * FROM `binary_packages`'
+ printf 'SELECT 1 FROM `binary_packages`'
mysql_join_binary_packages_binary_packages_in_repositories
- mysql_join_binary_packages_in_repositories_repositories
- printf ' WHERE `repositories`.`name`="build-list"'
+ printf ' WHERE `binary_packages_in_repositories`.`repository`=%s' \
+ "${repository_ids__any_build_list}"
printf ' AND `binary_packages`.`build_assignment`=`build_assignments`.`id`'
printf ');\n'
} | \