From b1214fac63f22815c17e34fb6a8b0ec3b8e01de2 Mon Sep 17 00:00:00 2001 From: bendn Date: Tue, 3 Sep 2024 09:43:02 +0700 Subject: [PATCH] fix: remove parallelism --- export.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/export.sh b/export.sh index 605dcff7..7e676069 100755 --- a/export.sh +++ b/export.sh @@ -57,7 +57,7 @@ render 128 icon.svg icon.png & cd _src_ shopt -s globstar for i in **/*.svg; do - while [ "$(jobs -r | wc -l)" -ge 10 ]; do sleep .1; done + # while [ "$(jobs -r | wc -l)" -ge 10 ]; do sleep .1; done [[ $i == *"template"* ]] && continue r_path="${i%.svg}.png" # the folder relative to sprites_override, or _original_: units/gamma.png base="${r_path##*/}" @@ -71,9 +71,9 @@ for i in **/*.svg; do -z "$no_outline" && (($r_path == *"turrets"* && $base != *"heat"* && $r_path != *"bases"* && $base != *"top"* && $base != *"liquid"*) || (-n $(grep -F "$r_path" "$root_path/manual_outline"))) ]]; then - (render "$(multiplied_size "$r_path")" "$i" "$output_path" && outline "$output_path") & + (render "$(multiplied_size "$r_path")" "$i" "$output_path" && outline "$output_path") else - render "$(multiplied_size "$r_path")" "$i" "$output_path" & + render "$(multiplied_size "$r_path")" "$i" "$output_path" fi echo -e "[${size_multiplier}] $r_path"