diff options
| author | Adam Vandenberg | 2012-10-27 07:45:59 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-27 07:45:59 -0700 |
| commit | 5ce75a78b8fecd702636a9466a22fb9935bfadf1 (patch) | |
| tree | 6d8a9eb2fbfedc47108d02e3dcaa8a81a7014b80 | |
| parent | a57764d76c60d773bf7df2f1da2860faab7473ce (diff) | |
| download | homebrew-5ce75a78b8fecd702636a9466a22fb9935bfadf1.tar.bz2 | |
Mercurial: fix install warning
| -rw-r--r-- | Library/Formula/mercurial.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb index b38da6eea..c5b691731 100644 --- a/Library/Formula/mercurial.rb +++ b/Library/Formula/mercurial.rb @@ -30,16 +30,11 @@ class Mercurial < Formula system "make", "PREFIX=#{prefix}", "build" system "make", "PREFIX=#{prefix}", "install-bin" - # Now we have lib/python2.x/site-packages/ with Mercurial - # libs in them. We want to move these out of site-packages into - # a self-contained folder. Let's choose libexec. - libexec.install Dir["#{lib}/python*/site-packages/*"] - # Symlink the hg binary into bin - bin.install_symlink libexec+'hg' + bin.install_symlink libexec/'hg' # Remove the hard-coded python invocation from hg - inreplace bin+'hg', %r[^#!.*$], '#!/usr/bin/env python' + inreplace bin/'hg', %r[^#!.*$], '#!/usr/bin/env python' # Install some contribs bin.install 'contrib/hgk' |
