aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-25 11:33:09 -0500
committerJack Nagel2014-03-25 11:33:09 -0500
commit88436a03786ac2ef6eb63480add0c99714ca9b99 (patch)
tree246134e5412a963773e7097b10c0d47147a27e97 /Library/Formula/python3.rb
parent7d5e762b3efac8059dcda9dcf4f873a2d3cbdb3f (diff)
downloadhomebrew-88436a03786ac2ef6eb63480add0c99714ca9b99.tar.bz2
python3: use install_symlink
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 }