Commit ff65c883 by Ned Batchelder

find-exec won't expand wildcards

parent b797db62
...@@ -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