diff options
| author | mbcoguno | 2012-09-26 16:31:12 +0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-15 09:07:10 -0700 |
| commit | 6633322183ff6baa27615c231c439ca8bc517cbc (patch) | |
| tree | dbbaa056279ad9e95f359c9a82e849dba041782d /Library/Formula | |
| parent | 362d103b95f9ac1f6b146756a0386fbf90284c87 (diff) | |
| download | homebrew-6633322183ff6baa27615c231c439ca8bc517cbc.tar.bz2 | |
mercurial: works with all CPythons.
Replace shebang whatever CPython is. This can works with system,
homebrew, official, pythonbrew, etc.'s CPython.
Closes #15342.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mercurial.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb index 3477c74f3..b38da6eea 100644 --- a/Library/Formula/mercurial.rb +++ b/Library/Formula/mercurial.rb @@ -39,7 +39,7 @@ class Mercurial < Formula bin.install_symlink libexec+'hg' # Remove the hard-coded python invocation from hg - inreplace bin+'hg', %r[#!/.*/python(/.*)?], '#!/usr/bin/env python' + inreplace bin+'hg', %r[^#!.*$], '#!/usr/bin/env python' # Install some contribs bin.install 'contrib/hgk' |
