X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=hooks%2Fpost-checkout%2Fcompyle;h=c78191391705240f5d818bbd25372ec9bb4462d0;hb=50a94c682ccd5d2ab4cf2cfe954a10132077e608;hp=0952d434b372071a44d088f93a024ddc80512229;hpb=11f9b3e2837ea214ee8cccf69704b3314a8ffba9;p=git-scripts.git diff --git a/hooks/post-checkout/compyle b/hooks/post-checkout/compyle index 0952d43..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 - python -m compileall -q -x '\.tox/.+' . && - python -O -m compileall -q -x '\.tox/.+' . + python -m compileall -q -x '\.tox/' . && + python -O -m compileall -q -x '\.tox/' . fi exit 0