From de6365c960d1999fc79c6677571eb650ec5e2016 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Sat, 10 May 2014 13:09:07 +0400 Subject: pypy: fix pypy's pip and easy-install links to bin Closes #29107. Signed-off-by: Adam Vandenberg --- Library/Formula/pypy.rb | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3