Skip to content

Commit

Permalink
Test: exclude py[cod] instead of just pyc.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhupfeldt committed Nov 16, 2019
1 parent 0c1e82c commit a074293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tmp_install.sh
Expand Up @@ -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)
Expand Down

0 comments on commit a074293

Please sign in to comment.