aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorXu Cheng2015-05-27 20:55:00 +0800
committerXu Cheng2015-05-29 17:02:22 +0800
commitd976e43708f9a2e0a84f718d7241d5eeedb8501b (patch)
treec16c3a0fdd3d425ea71f49b31131d3b8e5cafbfd /Library/Homebrew/cmd
parent06133a8ae8cb4965f65abefe7b99bb55837e8971 (diff)
downloadbrew-d976e43708f9a2e0a84f718d7241d5eeedb8501b.tar.bz2
doctor: use Formula#full_name
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 586de0c7e..0c9ce42ff 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -941,7 +941,7 @@ def check_for_linked_keg_only_brews
Formula.each do |f|
next unless f.keg_only? and f.installed?
links = __check_linked_brew f
- warnings[f.name] = links unless links.empty?
+ warnings[f.full_name] = links unless links.empty?
end
unless warnings.empty?
@@ -992,7 +992,7 @@ def check_missing_deps
Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
- brew install #{missing.sort_by(&:name) * " "}
+ brew install #{missing.sort_by(&:full_name) * " "}
Run `brew missing` for more details.
EOS