aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-01 18:42:47 -0600
committerJack Nagel2014-03-01 18:42:47 -0600
commit6d949599b5a9b4d770420fa2e0eec0c143d0e11d (patch)
tree03bd737295e1779298ad1e5888dd5516e92b35bc /Library/Homebrew/formula.rb
parent7966b29ac6fc49029e5da406bde79d6aa52ff767 (diff)
downloadbrew-6d949599b5a9b4d770420fa2e0eec0c143d0e11d.tar.bz2
Compare pathnames directly
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
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