Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mercurial: works with all CPythons.

Replace shebang whatever CPython is. This can works with system,
homebrew, official, pythonbrew, etc.'s CPython.
  • Loading branch information...
commit 227dae32b702f2b205448254463f49b3db2f3387 1 parent e729dcb
Parry authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Library/Formula/mercurial.rb
2  Library/Formula/mercurial.rb
@@ -39,7 +39,7 @@ def install
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'
Please sign in to comment.
Something went wrong with that request. Please try again.