Skip to content
Permalink
Browse files

fix prepare-commit for sipify

  • Loading branch information
3nids committed Jan 19, 2018
1 parent 5dc91b4 commit d4242224932676bfbc2e8ccb5557e57b1a049420
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/prepare-commit.sh
@@ -120,7 +120,7 @@ for f in $MODIFIED; do
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 )
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
touch python/$sip_file
cp python/$sip_file $m

0 comments on commit d424222

Please sign in to comment.
You can’t perform that action at this time.