Commit 8f0dd920 by Ned Batchelder

find-exec won't expand wildcards

(cherry picked from commit ff65c883)
parent 648ab212
......@@ -8,10 +8,10 @@ set -x
# Discard packages we don't need.
apt-get clean -y
apt-get autoclean -y
apt-get autoclean -y
# 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,
# 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