Skip to content

Commit

Permalink
fix prepare-commit for sipify
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 19, 2018
1 parent 5dc91b4 commit d424222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepare-commit.sh
Expand Up @@ -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
Expand Down

0 comments on commit d424222

Please sign in to comment.