aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 4538f0a3a..1386dc1fc 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -130,7 +130,7 @@ class Python < 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