X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=hooks%2Fpost-checkout%2Fcompyle;h=c78191391705240f5d818bbd25372ec9bb4462d0;hb=50a94c682ccd5d2ab4cf2cfe954a10132077e608;hp=dce8b0114b3cc200219f6ab63e63848a61cd901b;hpb=839f71abf237d12e2521ed23c7dfdb0f66f50a3f;p=git-scripts.git diff --git a/hooks/post-checkout/compyle b/hooks/post-checkout/compyle index dce8b01..c781913 100755 --- a/hooks/post-checkout/compyle +++ b/hooks/post-checkout/compyle @@ -8,8 +8,8 @@ new_HEAD="$2" new_branch="$3" if [ "$new_branch" = 1 ]; then - python2.7 -m compileall -q . && - python2.7 -O -m compileall -q . + python -m compileall -q -x '\.tox/' . && + python -O -m compileall -q -x '\.tox/' . fi exit 0