X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=add-pubkey%2Fpost-checkout;h=5017228fcdd43e1878382447164230b4b6e57f98;hb=99f22d0045c5002c384a599cc0f0b203f429eedf;hp=7394a6219092524f0b5310fad055ccebd8102869;hpb=950d3b3e506d4805900c2f8c0c416986b7fca444;p=git-scripts.git diff --git a/add-pubkey/post-checkout b/add-pubkey/post-checkout index 7394a62..5017228 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