Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  Library/Formula/mercurial.rb
2  Library/Formula/mercurial.rb
@@ -39,7 +39,7 @@ def install
39 39 bin.install_symlink libexec+'hg'
40 40
41 41 # Remove the hard-coded python invocation from hg
42   - inreplace bin+'hg', %r[#!/.*/python(/.*)?], '#!/usr/bin/env python'
  42 + inreplace bin+'hg', %r[^#!.*$], '#!/usr/bin/env python'
43 43
44 44 # Install some contribs
45 45 bin.install 'contrib/hgk'

0 comments on commit 227dae3

Please sign in to comment.
Something went wrong with that request. Please try again.