From c2b057fc70b1ad11e429a55c96218f772ab62414 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 19 Jun 2012 09:24:19 -0500 Subject: [PATCH] doctor: skip Cellar test if Cellar doesn't exist Fixes Homebrew/homebrew#5188 (again). --- 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 11eabe2817..9d296b23e8 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -596,6 +596,7 @@ def check_for_DYLD_INSERT_LIBRARIES end def check_for_symlinked_cellar + return unless HOMEBREW_CELLAR.exist? if HOMEBREW_CELLAR.symlink? <<-EOS.undent Symlinked Cellars can cause problems.