aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
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 b73f68f7d..494367f7d 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -118,7 +118,7 @@ class Python3 < Formula
# Create a site-packages in HOMEBREW_PREFIX/lib/python#{VER}/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 }