From 6d949599b5a9b4d770420fa2e0eec0c143d0e11d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 1 Mar 2014 18:42:47 -0600 Subject: Compare pathnames directly --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 1a7b0dc69..ca943a27d 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -452,7 +452,7 @@ class Formula # True if this formula is provided by Homebrew itself def core_formula? - path.realpath.to_s == Formula.path(name).to_s + path.realpath == Formula.path(name) end def self.path name -- cgit v1.2.3