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 c9edf4f1e..4538f0a3a 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -127,7 +127,7 @@ class Python < Formula
# Create a site-packages in HOMEBREW_PREFIX/lib/python2.7/site-packages
site_packages.mkpath
# Symlink the prefix site-packages into the cellar.
- ln_s site_packages, site_packages_cellar
+ site_packages_cellar.parent.install_symlink site_packages
# Write our sitecustomize.py
Dir["#{site_packages}/*.py{,c,o}"].each {|f| Pathname.new(f).unlink }