Skip to content

Commit

Permalink
doctor: skip missing_deps when no Cellar exists
Browse files Browse the repository at this point in the history
Another fix for Homebrew#5188.
  • Loading branch information
mistydemeo committed Jun 19, 2012
1 parent 065becd commit db606cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/cmd/doctor.rb
Expand Up @@ -764,6 +764,7 @@ def check_tmpdir
end

def check_missing_deps
return unless HOMEBREW_CELLAR.exist?
s = Set.new
missing_deps = Homebrew.find_missing_brews(Homebrew.installed_brews)
missing_deps.each do |m|
Expand Down

0 comments on commit db606cd

Please sign in to comment.