aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorXu Cheng2015-11-29 15:34:07 +0800
committerXu Cheng2015-11-29 20:24:30 +0800
commitaaa945be686f885cc87e8e41d8861ab12955f674 (patch)
tree50e805130ad026159fcce01f54e198877badbadf /Library/Homebrew/cmd
parent3e99f16a7d2330fc636152022bb66e93ac0a3c6c (diff)
downloadbrew-aaa945be686f885cc87e8e41d8861ab12955f674.tar.bz2
missing: use installed_prefixes
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/missing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/missing.rb b/Library/Homebrew/cmd/missing.rb
index 14d76f54e..6805548a8 100644
--- a/Library/Homebrew/cmd/missing.rb
+++ b/Library/Homebrew/cmd/missing.rb
@@ -15,7 +15,7 @@ module Homebrew
end
missing_deps.map!(&:to_formula)
- missing_deps.reject! { |d| d.rack.exist? && d.rack.subdirs.length > 0 }
+ missing_deps.reject! { |d| d.installed_prefixes.any? }
unless missing_deps.empty?
yield f.full_name, missing_deps if block_given?