X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=add-pubkey%2Fpost-checkout;h=19ac074d0a08236c8a7b030b80b49f48b8b06882;hb=b37159809ed2c8c569a0d27d74e97e1d606c5dd1;hp=7394a6219092524f0b5310fad055ccebd8102869;hpb=950d3b3e506d4805900c2f8c0c416986b7fca444;p=git-scripts.git diff --git a/add-pubkey/post-checkout b/add-pubkey/post-checkout index 7394a62..19ac074 100755 --- a/add-pubkey/post-checkout +++ b/add-pubkey/post-checkout @@ -11,8 +11,8 @@ if [ \( "$new_branch" = 1 \) ]; then if [ "$new_HEAD" = "`git rev-parse phd-pubkey`" ]; then git clean -d -f -q else - 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 fi