From 100bda57928bab7ce612025471956a876a9baf92 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sat, 14 Jan 2012 02:39:03 -0600 Subject: [PATCH] mercurial: update regexp to match framework python Fixes Homebrew/homebrew#9593 --- Formula/mercurial.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/mercurial.rb b/Formula/mercurial.rb index c6d6d8ad6d..938eb6c17b 100644 --- a/Formula/mercurial.rb +++ b/Formula/mercurial.rb @@ -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'