diff options
| author | Jack Nagel | 2014-03-01 18:42:47 -0600 | 
|---|---|---|
| committer | Jack Nagel | 2014-03-01 18:42:47 -0600 | 
| commit | 6d949599b5a9b4d770420fa2e0eec0c143d0e11d (patch) | |
| tree | 03bd737295e1779298ad1e5888dd5516e92b35bc /Library/Homebrew/formula.rb | |
| parent | 7966b29ac6fc49029e5da406bde79d6aa52ff767 (diff) | |
| download | brew-6d949599b5a9b4d770420fa2e0eec0c143d0e11d.tar.bz2 | |
Compare pathnames directly
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -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  | 
