diff options
| author | Jack Nagel | 2014-03-01 18:42:47 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-03-01 18:42:47 -0600 |
| commit | b36d4e4543ba3230808dfa74379a5d74ca1c908c (patch) | |
| tree | 6ce65e6284b93177e2cfec115d3585f6a607de66 /Library | |
| parent | 5aa65a041d4344c8f970497216522bf3bc3be156 (diff) | |
| download | homebrew-b36d4e4543ba3230808dfa74379a5d74ca1c908c.tar.bz2 | |
Compare pathnames directly
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
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 |
