mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
make sipify_all.sh much faster by using background processes
This commit is contained in:
parent
6e8363097d
commit
0a93674329
@ -47,11 +47,12 @@ for module in "${modules[@]}"; do
|
||||
else
|
||||
path=$(${GP}sed -r 's@/[^/]+$@@' <<< $sipfile)
|
||||
mkdir -p python/$path
|
||||
./scripts/sipify.pl $header > python/$sipfile.in
|
||||
./scripts/sipify.pl $header > python/$sipfile.in &
|
||||
fi
|
||||
count=$((count+1))
|
||||
done < <( ${GP}sed -n -r "s/^%Include (.*\.sip)/${module}\/\1/p" python/${module}/${module}_auto.sip )
|
||||
done
|
||||
wait # wait for sipify processes to finish
|
||||
|
||||
echo " => $count files sipified! 🍺"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user