diff options
| author | Jack Nagel | 2012-12-21 19:33:24 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-12-21 19:33:24 -0600 |
| commit | 33465bbec977044c027f08598d8a6a153b147ffe (patch) | |
| tree | 9f0ad6301e5ad27d0db2b92535e591fdb99106f5 /Library/Homebrew/cmd | |
| parent | cbf2eef8832cbf05f59c7cd8714715e74630af64 (diff) | |
| download | homebrew-33465bbec977044c027f08598d8a6a153b147ffe.tar.bz2 | |
doctor: f.prefix is already a pathname
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 86428c28a..ca388d467 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -738,7 +738,7 @@ end def __check_linked_brew f links_found = [] - Pathname.new(f.prefix).find do |src| + f.prefix.find do |src| dst=HOMEBREW_PREFIX+src.relative_path_from(f.prefix) next unless dst.symlink? |
