summaryrefslogtreecommitdiff
path: root/web-scripts
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-30 11:33:50 +0100
committerErich Eckner <git@eckner.net>2018-01-30 11:33:50 +0100
commit4e4e93319ba811c477864b89224cca55b9f8bad5 (patch)
treeceb02835d0916a8a7ce0040f8c3b9fc59cedf784 /web-scripts
parentf1a5d0d8305185d40d3c465e0a2b141bcdb3ddbb (diff)
downloadbuilder-4e4e93319ba811c477864b89224cca55b9f8bad5.tar.xz
web-scripts/broken-packages.php: do not count split packages depending on each other as dependencies
Diffstat (limited to 'web-scripts')
-rw-r--r--web-scripts/broken-packages.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/web-scripts/broken-packages.php b/web-scripts/broken-packages.php
index b506cec..4a42d92 100644
--- a/web-scripts/broken-packages.php
+++ b/web-scripts/broken-packages.php
@@ -27,7 +27,8 @@ $result = $mysql -> query(
"JOIN `binary_packages` `to_be_built` ON `to_be_built`.`id` = `install_target_providers`.`package` " .
"JOIN `repositories` ON `to_be_built`.`repository` = `repositories`.`id` " .
"WHERE `broken_bin`.`build_assignment`=`build_assignments`.`id` ".
- "AND `repositories`.`name`=\"build-list\"" .
+ "AND `repositories`.`name`=\"build-list\" " .
+ "AND `to_be_built`.`build_assignment`!=`build_assignments`.`id`" .
") AS `dependencies_pending`," .
"(SELECT count(*) " .
"FROM `build_dependency_loops` " .