From 6d1d650012168d0e3c76f98315b9709335382946 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 20 Apr 2020 10:01:11 +0200 Subject: [PATCH] Fix BuildPackages.sh --parallel option --- bin/BuildPackages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/BuildPackages.sh b/bin/BuildPackages.sh index be4bd50d32..196514b0a5 100755 --- a/bin/BuildPackages.sh +++ b/bin/BuildPackages.sh @@ -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