mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
fix prepare-commit for sipify
This commit is contained in:
parent
5dc91b4b1f
commit
d424222493
@ -120,7 +120,7 @@ for f in $MODIFIED; do
|
|||||||
sip_file=$(${GP}sed -r 's/^src\/(core|gui|analysis|server)\///; s/\.h$/.sip/' <<<$f )
|
sip_file=$(${GP}sed -r 's/^src\/(core|gui|analysis|server)\///; s/\.h$/.sip/' <<<$f )
|
||||||
module=$(${GP}sed -r 's/^src\/(core|gui|analysis|server)\/.*$/\1/' <<<$f )
|
module=$(${GP}sed -r 's/^src\/(core|gui|analysis|server)\/.*$/\1/' <<<$f )
|
||||||
if grep -Fq "$sip_file" ${TOPLEVEL}/python/${module}/${module}_auto.sip; then
|
if grep -Fq "$sip_file" ${TOPLEVEL}/python/${module}/${module}_auto.sip; then
|
||||||
sip_file=$(${GP}sed -r 's/^src\///; s/\.h$/.sip/' <<<$f )
|
sip_file=$(${GP}sed -r 's/^src\///; s/\.h$/.sip.in/' <<<$f )
|
||||||
m=python/$sip_file.$REV.prepare
|
m=python/$sip_file.$REV.prepare
|
||||||
touch python/$sip_file
|
touch python/$sip_file
|
||||||
cp python/$sip_file $m
|
cp python/$sip_file $m
|
||||||
|
Loading…
x
Reference in New Issue
Block a user