aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2012-09-28 09:29:41 -0500
committerJack Nagel2012-09-28 09:30:01 -0500
commit0639364a8229114736285676b997da9f836e2c19 (patch)
tree0cf02f1a23740e8004ee7ede678cb44a4a10d829
parentcddc3649a726f3660ff74ef1283c98df99782da2 (diff)
downloadbrew-0639364a8229114736285676b997da9f836e2c19.tar.bz2
_Really_ fix hg strategy
Fixes Homebrew/homebrew#15181. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
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