diff options
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-x | scripts/make.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh index 23e4a9b6..3bd8b4d1 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -199,7 +199,7 @@ do while true do PENDING="$(echo $PENDING $(jobs -rp) | tr ' ' '\n' | sort -u)" - [ $(echo "$PENDING" | wc -l) -lt "$CPUS" ] && break; + [ $(echo -n "$PENDING" | wc -l) -lt "$CPUS" ] && break; wait $(echo "$PENDING" | head -n 1) || exit 1 PENDING="$(echo "$PENDING" | tail -n +2)" |