From 4b70be67538459d7c05b4110693e52e339bdd187 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 26 Feb 2013 15:51:56 +0100 Subject: [PATCH] Fix same system inputs --- src/lib/Hydra/Helper/AddBuilds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Helper/AddBuilds.pm b/src/lib/Hydra/Helper/AddBuilds.pm index 69cdbb46..a35c2437 100644 --- a/src/lib/Hydra/Helper/AddBuilds.pm +++ b/src/lib/Hydra/Helper/AddBuilds.pm @@ -273,7 +273,7 @@ sub fetchInputSystemBuild { my @validBuilds = (); foreach my $build (@latestBuilds) { - push(@validBuilds, $build) if !isValidPath(getMainOutput($build)->path); + push(@validBuilds, $build) if isValidPath(getMainOutput($build)->path); } if (scalar(@validBuilds) == 0) {