From daa599f9027dce7f31cd6cc3aa74fc8a2fe83b91 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Thu, 3 Oct 2019 09:56:27 +0200 Subject: New: rightsnuggle*, leftsnuggle*, centersnuggle*, cheer, darkghost*, ghost*, rage, ragelarge* --- hyperize.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'hyperize.sh') diff --git a/hyperize.sh b/hyperize.sh index 8a8c0ac..8ee4a34 100755 --- a/hyperize.sh +++ b/hyperize.sh @@ -15,14 +15,21 @@ rm -f export_tmp/* counter=1 +NUMPROCS=8 +NUMJOBS="\j" while [ $counter -le 75 ] do + while (( ${NUMJOBS@P} >= NUMPROCS )); do + wait -n + done offset=${shakeOffsets[counter-1]} file=`printf "export_tmp/%s.png" $counter` - inkscape -z -e $file -a $offset $SOURCESVG + inkscape -z -e $file -a $offset $SOURCESVG & ((counter++)) done +wait -n + declare -a args -- cgit v1.3.1