Commits

Vladimir Glazunov  committed fad8e94

vgbugs11: #i114348# fix for --all:project builds

  • Participants
  • Parent commits 7f7cd0d

Comments (0)

Files changed (1)

File solenv/bin/build.pl

     $Dependencies = shift;
     if (scalar keys %$Dependencies) {
         foreach my $job (keys %$Dependencies) {
-            push(@candidates, $job) if (!scalar keys %{$$Dependencies{$job}});
+            if (!scalar keys %{$$Dependencies{$job}}) {
+                push(@candidates, $job);
+                last if (!$processes_to_run);
+            };
         };
         if (scalar @candidates) {
             $all_dependent = 0;