aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/make.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 42143f8e..23e4a9b6 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -199,9 +199,9 @@ do
while true
do
PENDING="$(echo $PENDING $(jobs -rp) | tr ' ' '\n' | sort -u)"
- [ $(echo $PENDING | wc -l) -lt "$CPUS" ] && break;
+ [ $(echo "$PENDING" | wc -l) -lt "$CPUS" ] && break;
- wait $(echo $PENDING | head -n 1) || exit 1
+ wait $(echo "$PENDING" | head -n 1) || exit 1
PENDING="$(echo "$PENDING" | tail -n +2)"
done
done