From: Joey Hess Date: Sun, 17 Jul 2011 20:02:17 +0000 (-0400) Subject: no need to wait when parallel is disabled X-Git-Tag: 8.9.1~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c0460e17dab00ac7944a3d94fbe87b11757a1c65;p=debhelper.git no need to wait when parallel is disabled --- diff --git a/dh_builddeb b/dh_builddeb index be6324a..edb7a75 100755 --- a/dh_builddeb +++ b/dh_builddeb @@ -112,7 +112,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $processes++; } } -while (($max_procs > 0) && (wait != -1)) {} +while (($max_procs > 1) && (wait != -1)) {} =head1 SEE ALSO