X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=hooks%2Fpost-checkout%2Fcompyle;h=c78191391705240f5d818bbd25372ec9bb4462d0;hb=e8f6d35f5d795e21c0ac13d5db759197e1d074bf;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