Skip to content

Commit

Permalink
Fix BuildPackages.sh --parallel option
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Apr 20, 2020
1 parent 8490731 commit 6d1d650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/BuildPackages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ do
warning "$PKG does not seem to be a package directory, skipping"
fi
) &
if [ "x$PARALLEL" != "xyes" ]; then
if [ "x$PARALLEL" = "xyes" ]; then
# If more than 4 background jobs are running, wait for one to finish
if [[ $(jobs -r -p | wc -l) -gt 4 ]]; then
wait -n
Expand Down

0 comments on commit 6d1d650

Please sign in to comment.