mercurial: update regexp to match framework python
Fixes Homebrew/homebrew#9593
This commit is contained in:
parent
cacc56493d
commit
100bda5792
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class Mercurial < Formula
|
|||
ln_s libexec+'hg', bin+'hg'
|
||||
|
||||
# Remove the hard-coded python invocation from hg
|
||||
inreplace bin+'hg', %r[#!/.*/python], '#!/usr/bin/env python'
|
||||
inreplace bin+'hg', %r[#!/.*/python/.*], '#!/usr/bin/env python'
|
||||
|
||||
# Install some contribs
|
||||
bin.install 'contrib/hgk'
|
||||
|
|
Loading…
Reference in a new issue