stop cleaning of pyc files in build dir

This commit is contained in:
Ondřej Samohel 2021-05-25 18:53:41 +02:00
parent 017db0b40c
commit 00a0c3931e
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
8 changed files with 20 additions and 32 deletions

View file

@ -126,7 +126,7 @@ clean_pyc () {
local path
path=$openpype_root
echo -e "${BIGreen}>>>${RST} Cleaning pyc at [ ${BIWhite}$path${RST} ] ... \c"
find "$path" -regex '^.*\(__pycache__\|\.py[co]\)$' -delete
find "$path" -path ./build -prune -o -regex '^.*\(__pycache__\|\.py[co]\)$' -delete
echo -e "${BIGreen}DONE${RST}"
}