summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-19 10:41:44 +0200
committerErich Eckner <git@eckner.net>2018-07-19 10:41:44 +0200
commit0f5133614a87624310c5471a0914bef8c1fdec63 (patch)
tree38ae25e0220e52519575d52466083716be99ebd6 /bin
parentef40561a3c463328e86d94397df1e88372778c49 (diff)
downloadbuilder-0f5133614a87624310c5471a0914bef8c1fdec63.tar.xz
bin/seed-build-list: remove unnecessary join
Diffstat (limited to 'bin')
-rwxr-xr-xbin/seed-build-list5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list
index 12b829d..3505a53 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -154,8 +154,9 @@ repos=$(
{
printf 'SELECT DISTINCT `repositories`.`name`'
printf ' FROM `repositories`'
- mysql_join_repositories_repository_stabilities
- printf ' WHERE `repository_stabilities`.`name`="stable";\n'
+ # shellcheck disable=SC2154
+ printf ' WHERE `repositories`.`stability`=%s;\n' \
+ "${repository_stability_ids__stable}"
} | \
mysql_run_query
printf '%s\n' 'multilib'