diff --git a/test/tmp_install.sh b/test/tmp_install.sh index a67febf..8e79030 100755 --- a/test/tmp_install.sh +++ b/test/tmp_install.sh @@ -4,7 +4,7 @@ set -u source_dir=$(cd $(dirname $0)/.. && pwd) target_dir=$1 -rsync -a --delete --delete-excluded --exclude .git --exclude '*~' --exclude '*.pyc' --exclude '__pycache__' --exclude '*.cache' $source_dir/ $target_dir/ +rsync -a --delete --delete-excluded --exclude .git --exclude '*~' --exclude '*.py[cod]' --exclude '__pycache__' --exclude '*.cache' $source_dir/ $target_dir/ mkdir -p $target_dir/.cache chmod -R a+r $target_dir chmod a+wrx $(find $target_dir -type d)