Skip to content

Commit

Permalink
Correctly find files and folders
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Feb 17, 2019
1 parent a6e363b commit 3ca5804
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion travis/build-manylinux1-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@ WHEELHOUSE_DIR="${SRC_DIR}/dist"

# clear python cache
>&2 echo Cleaninig up python bytecode cache files...
find "${SRC_DIR}" \
-type f \
-name *.pyc -o -name *.pyo \
-print0 | xargs -0 rm -fv
find "${SRC_DIR}" \
-type d \
'(' -name __pycache__ -o -name *.pyc -o -name *.pyo ')' \
-name __pycache__ \
-print0 | xargs -0 rm -rfv

# clear python cache
Expand Down

0 comments on commit 3ca5804

Please sign in to comment.