From 0d2e26fc585c8b82f5b7c50bf98f0e0b89a690f2 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 19 Jun 2012 10:05:11 -0500 Subject: [PATCH] doctor: skip missing_deps when no Cellar exists Another fix for Homebrew/homebrew#5188. --- Library/Homebrew/cmd/doctor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index d4cd7f349a..c2131445a1 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -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|