From 0639364a8229114736285676b997da9f836e2c19 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 28 Sep 2012 09:29:41 -0500 Subject: _Really_ fix hg strategy Fixes Homebrew/homebrew#15181. Signed-off-by: Jack Nagel --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew') diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index d5db8bc6e..09086678a 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -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 -- cgit v1.2.3