_Really_ fix hg strategy
Fixes Homebrew/homebrew#15181. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
cddc3649a7
commit
0639364a82
@ -459,7 +459,7 @@ class MercurialDownloadStrategy < AbstractDownloadStrategy
|
||||
def cached_location; @clone; end
|
||||
|
||||
def hgpath
|
||||
@path ||= (which "hg" || "#{HOMEBREW_PREFIX}/bin/hg")
|
||||
@path ||= (which("hg") || "#{HOMEBREW_PREFIX}/bin/hg")
|
||||
end
|
||||
|
||||
def fetch
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user