aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-11-29 15:27:29 +0800
committerXu Cheng2015-11-29 20:24:30 +0800
commit2f50d3a2799d7a66d163e69ec2272535904e9e6e (patch)
treef72a8b59674652af9453b9eb4fbc19345a65b8dc /Library
parentcc8859f86acee1f1882387c8fcd04940a930e929 (diff)
downloadbrew-2f50d3a2799d7a66d163e69ec2272535904e9e6e.tar.bz2
doctor: use installed_prefixes
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 1bf69b00f..f92ce058a 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -997,7 +997,7 @@ class Checks
end
def __check_linked_brew(f)
- f.rack.subdirs.each do |prefix|
+ f.installed_prefixes.each do |prefix|
prefix.find do |src|
next if src == prefix
dst = HOMEBREW_PREFIX + src.relative_path_from(prefix)