summaryrefslogtreecommitdiff
path: root/buildmaster/build-list-links.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-20 19:14:57 +0200
committerErich Eckner <git@eckner.net>2018-06-20 19:14:57 +0200
commit67228ec8a2640c377dffa7683723b1af857235cf (patch)
tree8394603907d1c3f36991137fb19ab511d7550894 /buildmaster/build-list-links.php
parentb33c28aa002cbe227382e421a878c0e7d1a3699a (diff)
downloadarchweb32-67228ec8a2640c377dffa7683723b1af857235cf.tar.xz
buildmaster/build-list-links.php: limit to 150 pkgbases, not 150 pkgnames
Diffstat (limited to 'buildmaster/build-list-links.php')
-rw-r--r--buildmaster/build-list-links.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildmaster/build-list-links.php b/buildmaster/build-list-links.php
index 3f924f8..6604825 100644
--- a/buildmaster/build-list-links.php
+++ b/buildmaster/build-list-links.php
@@ -22,7 +22,7 @@ mysql_run_query($query);
$query =
"INSERT IGNORE INTO `ba` (`id`,`color`)" .
- " SELECT" .
+ " SELECT DISTINCT" .
" `build_assignments`.`id`," .
"IF(`build_assignments`.`is_broken`,\"#ff0000\",IF(`build_assignments`.`is_blocked` IS NULL,\"#000000\",\"#800000\"))" .
" FROM `binary_packages_in_repositories`" .