mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-05 00:04:40 -05: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
|
else
|
||||||
path=$(${GP}sed -r 's@/[^/]+$@@' <<< $sipfile)
|
path=$(${GP}sed -r 's@/[^/]+$@@' <<< $sipfile)
|
||||||
mkdir -p python/$path
|
mkdir -p python/$path
|
||||||
./scripts/sipify.pl $header > python/$sipfile.in
|
./scripts/sipify.pl $header > python/$sipfile.in &
|
||||||
fi
|
fi
|
||||||
count=$((count+1))
|
count=$((count+1))
|
||||||
done < <( ${GP}sed -n -r "s/^%Include (.*\.sip)/${module}\/\1/p" python/${module}/${module}_auto.sip )
|
done < <( ${GP}sed -n -r "s/^%Include (.*\.sip)/${module}\/\1/p" python/${module}/${module}_auto.sip )
|
||||||
done
|
done
|
||||||
|
wait # wait for sipify processes to finish
|
||||||
|
|
||||||
echo " => $count files sipified! 🍺"
|
echo " => $count files sipified! 🍺"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user