aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index d87b86ec6..ad24bb958 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -718,7 +718,9 @@ def check_missing_deps
s = []
`brew missing`.each_line do |line|
line =~ /(.*): (.*)/
- s << $2 unless s.include? $2
+ $2.split.each do |dep|
+ s << dep unless s.include? dep
+ end
end
if s.length > 0 then <<-EOS.undent
Some installed formula are missing dependencies.