Skip to content

Commit

Permalink
prepare-multi-lang.sh: fix off-by-one error
Browse files Browse the repository at this point in the history
  • Loading branch information
obfusk authored and eighthave committed Jul 1, 2021
1 parent 95fc3b8 commit 577426a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/prepare-multi-lang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ find en/ -type f -print0 | while IFS= read -r -d '' FILE_PATH; do
write_typemap ${DIR}/${FILE} "$SUPPORTED_LANGS"
) &
i=$((i+1))
if [ $i -gt $nproc ]; then
if [ $i -ge $nproc ]; then
wait
i=0
fi
Expand Down

0 comments on commit 577426a

Please sign in to comment.