aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-12-21 19:33:24 -0600
committerJack Nagel2012-12-21 19:33:24 -0600
commit4e9128aa6ce8b4086e59b6433030e2996533d595 (patch)
tree61a23f82d18d74b1244ad3fadf25bc5b51694f4a /Library
parent2b47739822a18a7dcf01102abd5a2dec2dcfa727 (diff)
downloadbrew-4e9128aa6ce8b4086e59b6433030e2996533d595.tar.bz2
doctor: f.prefix is already a pathname
Diffstat (limited to 'Library')
-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?