aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pypy.rb
diff options
context:
space:
mode:
authorAlexander Bayandin2014-05-10 13:09:07 +0400
committerAdam Vandenberg2014-05-12 07:27:12 -0700
commitde6365c960d1999fc79c6677571eb650ec5e2016 (patch)
tree2450ac0b9704416ab4ef73d2ddd9d7ffdf09600f /Library/Formula/pypy.rb
parent2dc9318c6fc9a7212012e6771c68bde56b5109e2 (diff)
downloadhomebrew-de6365c960d1999fc79c6677571eb650ec5e2016.tar.bz2
pypy: fix pypy's pip and easy-install links to bin
Closes #29107. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/pypy.rb')
-rw-r--r--Library/Formula/pypy.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb
index 35d3abf72..d711326c8 100644
--- a/Library/Formula/pypy.rb
+++ b/Library/Formula/pypy.rb
@@ -57,15 +57,9 @@ class Pypy < Formula
resource('setuptools').stage { system "#{libexec}/bin/pypy", "setup.py", "install" }
resource('pip').stage { system "#{libexec}/bin/pypy", "setup.py", "install" }
- # Symlink to easy_install_pypy.
- unless (scripts_folder+'easy_install_pypy').exist?
- scripts_folder.install_symlink "easy_install" => "easy_install_pypy"
- end
-
- # Symlink to pip_pypy.
- unless (scripts_folder+'pip_pypy').exist?
- scripts_folder.install_symlink "pip" => "pip_pypy"
- end
+ # Symlinks to easy_install_pypy and pip_pypy
+ bin.install_symlink scripts_folder/'easy_install' => "easy_install_pypy"
+ bin.install_symlink scripts_folder/'pip' => "pip_pypy"
end
def caveats; <<-EOS.undent