aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2012-12-21 19:33:24 -0600
committerJack Nagel2012-12-21 19:33:24 -0600
commit33465bbec977044c027f08598d8a6a153b147ffe (patch)
tree9f0ad6301e5ad27d0db2b92535e591fdb99106f5 /Library/Homebrew/cmd
parentcbf2eef8832cbf05f59c7cd8714715e74630af64 (diff)
downloadhomebrew-33465bbec977044c027f08598d8a6a153b147ffe.tar.bz2
doctor: f.prefix is already a pathname
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
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?