Commit 0e53d080 by Ned Batchelder Committed by GitHub

Merge pull request #3773 from edx/nedbat/really-clear-pip-caches

find-exec won't expand wildcards
parents 52ea594e ff65c883
...@@ -8,10 +8,10 @@ set -x ...@@ -8,10 +8,10 @@ set -x
# Discard packages we don't need. # Discard packages we don't need.
apt-get clean -y apt-get clean -y
apt-get autoclean -y apt-get autoclean -y
# Clean out pip caches. # Clean out pip caches.
find / -type d -path '*/.cache/pip' -print -exec rm -rf '{}/*' \; find / -type d -path '*/.cache/pip' -print -exec rm -rf '{}' \;
# We used to remove all .pyc files. This caused problems in sandboxes, # We used to remove all .pyc files. This caused problems in sandboxes,
# where code couldn't write .pyc files, and everything took too long. # where code couldn't write .pyc files, and everything took too long.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment