diff options
| author | Samuel John | 2013-06-04 16:59:15 +0200 |
|---|---|---|
| committer | Samuel John | 2013-06-04 17:05:02 +0200 |
| commit | 623b21a7bd2c346427f88e8711fb1e2d90aaa6e0 (patch) | |
| tree | 090a269fdb1295d528f8a9a16981bc89a68a76ae /Library | |
| parent | bca356dd70c9908af68efe8e38264d9cfc80f3a1 (diff) | |
| download | brew-623b21a7bd2c346427f88e8711fb1e2d90aaa6e0.tar.bz2 | |
mercurial: Install python bindings properly
Also allow to build with --HEAD by making brew's
download strategy aware of a brewed but unlined hg.
Adapted the caveats so that the procedure to brew
hg --HEAD is clear.
Mention how to config hgk in the caveats.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 72a0652fb..90fa724dc 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -552,6 +552,7 @@ class MercurialDownloadStrategy < AbstractDownloadStrategy @path ||= %W[ #{which("hg")} #{HOMEBREW_PREFIX}/bin/hg + #{Formula.factory('mercurial').opt_prefix}/bin/hg #{HOMEBREW_PREFIX}/share/python/hg ].find { |p| File.executable? p } end |
