Skip to content

Commit

Permalink
_Really_ fix hg strategy
Browse files Browse the repository at this point in the history
Fixes Homebrew#15181.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
jacknagel committed Sep 28, 2012
1 parent 10f64bd commit 086fad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/download_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def initialize name, package
def cached_location; @clone; end

def hgpath
@path ||= (which "hg" || "#{HOMEBREW_PREFIX}/bin/hg")
@path ||= (which("hg") || "#{HOMEBREW_PREFIX}/bin/hg")
end

def fetch
Expand Down

0 comments on commit 086fad9

Please sign in to comment.