aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2012-03-01 19:48:37 -0600
committerJack Nagel2012-03-01 19:48:37 -0600
commit7f39c999a6c4c0023cd3f0c5378fa3063ed4e588 (patch)
tree3f2ef5431cfa2ae67462c66d0d0eac10222f02c2 /Library/Homebrew/cmd
parentbfa537d5faed7671c1f1fa7773a94a459d96cd0f (diff)
downloadbrew-7f39c999a6c4c0023cd3f0c5378fa3063ed4e588.tar.bz2
Don't duplicate missing deps in `brew doctor`
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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 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.