Skip to content
Browse files
fix prepare-commit for sipify
  • Loading branch information
3nids committed Jan 19, 2018
1 parent 5dc91b4 commit d4242224932676bfbc2e8ccb5557e57b1a049420
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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$/' <<<$f )
touch python/$sip_file
cp python/$sip_file $m

0 comments on commit d424222

Please sign in to comment.