diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pypy.rb | 12 |
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 |
