aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-30 22:39:07 -0500
committerJack Nagel2014-03-30 22:41:52 -0500
commite3ae1bdc042eecded413b9415d80a020f0b06f95 (patch)
treec951f808c24c4d43b878e3e3d8200339b7c3b24e /Library/Formula/python.rb
parent90575346225fd0c16475ad74ee53b37b62715f0c (diff)
downloadhomebrew-e3ae1bdc042eecded413b9415d80a020f0b06f95.tar.bz2
Stop removing *all* python files on install
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