aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-03-01 19:48:37 -0600
committerJack Nagel2012-03-01 19:48:37 -0600
commit1a15ed0c79594eec6c212c773a6b2525fa5728e7 (patch)
treea384498969b377c07aaf06ab8170ac75b0f859c6 /Library
parentdda2034ee57f399d92e542f6b4da5f1c4beca315 (diff)
downloadhomebrew-1a15ed0c79594eec6c212c773a6b2525fa5728e7.tar.bz2
Don't duplicate missing deps in `brew doctor`
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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 f1d918174..380a331e2 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -718,7 +718,7 @@ def check_missing_deps
s = []
`brew missing`.each_line do |line|
line =~ /(.*): (.*)/
- s << $2
+ s << $2 unless s.include? $2
end
if s.length > 0 then <<-EOS.undent
Some installed formula are missing dependencies.