diff options
author | Erich Eckner <git@eckner.net> | 2018-03-20 13:23:21 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-20 13:23:21 +0100 |
commit | 5ed904c0b9fae476e45621b2e21b61ea8391db2b (patch) | |
tree | 7133035cdeb8059c69bf2b6df9356e09dcb82659 | |
parent | 112da5617dba1c83e5c3cfc10092c24ebc652a5f (diff) | |
download | builder-5ed904c0b9fae476e45621b2e21b61ea8391db2b.tar.xz |
bin/build-master-status-from-mysql: ignore duplicates of handed out assignments
-rwxr-xr-x | bin/build-master-status-from-mysql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index e4dd313..5f27d89 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -36,7 +36,7 @@ sort "${work_dir}/build-list" > \ # shellcheck disable=SC2016 { - printf 'SELECT ' + printf 'SELECT DISTINCT ' printf '`package_sources`.`%s`,' \ 'pkgbase' 'git_revision' 'mod_git_revision' printf '`upstream_repositories`.`name`' @@ -248,7 +248,7 @@ find "${work_dir}/package-states" -mindepth 1 -maxdepth 1 \ if [ -s "${webserver_directory}/mysql-sanity.html" ] && \ [ ! -s "${work_dir}/build-master-sanity" ]; then - printf 'oh girls, my database is dirty again ...\n' | \ + printf 'girls, my database is dirty again ...\n' | \ irc_say echo 'build master is insane' > \ "${work_dir}/build-master-sanity" |