summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-01 11:00:51 +0200
committerErich Eckner <git@eckner.net>2018-06-01 11:00:51 +0200
commitb72da8d58250ade67c3315545665cd2f77c86d01 (patch)
tree0d9c2221c95b72b9ecdb1ca4860dec2ca07995b5 /bin
parent20115804948451696b471277e9d6f5adcce6a48e (diff)
downloadbuilder-b72da8d58250ade67c3315545665cd2f77c86d01.tar.xz
bin/seed-build-list: style cleanup
Diffstat (limited to 'bin')
-rwxr-xr-xbin/seed-build-list5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list
index df43ecf..ce4239c 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -309,7 +309,7 @@ printf 'CREATE TEMPORARY TABLE `pkgbases` (`pkgbase` VARCHAR(64), `repository` V
printf ' AND `dependency_types`.`relevant_for_binary_packages`'
# nothing "less stable" has the same name
printf ' WHERE NOT EXISTS ('
- printf 'SELECT * FROM `binary_packages` AS `subst_bp`'
+ printf 'SELECT 1 FROM `binary_packages` AS `subst_bp`'
mysql_join_binary_packages_binary_packages_in_repositories 'subst_bp' 'subst_bir'
mysql_join_binary_packages_in_repositories_repositories 'subst_bir' 'subst_r'
printf ' AND `subst_r`.`name`!="build-support"'
@@ -339,13 +339,12 @@ printf 'CREATE TEMPORARY TABLE `pkgbases` (`pkgbase` VARCHAR(64), `repository` V
printf ' JOIN `upstream_repositories` ON `upstream_repositories`.`name`=`pkgbases`.`repository`'
mysql_join_upstream_repositories_git_repositories
printf ' WHERE NOT EXISTS ('
- printf 'SELECT * FROM `ignore_packages`'
+ printf 'SELECT 1 FROM `ignore_packages`'
printf ' JOIN `binary_packages` AS `i_bp` ON `ignore_packages`.`pkgname`=`i_bp`.`pkgname`'
mysql_join_binary_packages_build_assignments 'i_bp' 'i_ba'
mysql_join_build_assignments_package_sources 'i_ba' 'i_ps'
printf ' WHERE `i_ps`.`pkgbase`=`pkgbases`.`pkgbase`'
printf ');\n'
- printf ';\n'
printf 'SELECT '
printf '`package_sources`.`pkgbase`,'
printf '`git_repositories`.`head`,'