aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-30 22:43:10 -0500
committerJack Nagel2014-03-30 22:43:10 -0500
commit3e11812757d3f958223c9cce17c5be5518c39304 (patch)
tree4dbddb637ca101f036b0b66453fb0443403f0d1a /Library/Formula/python3.rb
parente3ae1bdc042eecded413b9415d80a020f0b06f95 (diff)
downloadhomebrew-3e11812757d3f958223c9cce17c5be5518c39304.tar.bz2
Apply previous commit to python3
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 940fbf5c4..e864532c1 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -121,7 +121,7 @@ class Python3 < Formula
site_packages_cellar.parent.install_symlink site_packages
# Write our sitecustomize.py
- Dir["#{site_packages}/*.py{,c,o}"].each {|f| Pathname.new(f).unlink }
+ rm_rf Dir["#{site_packages}/sitecustomize.py{,c,o}"]
(site_packages/"sitecustomize.py").write(sitecustomize)
# Remove old setuptools installations that may still fly around and be