Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doctor: skip Cellar test if Cellar doesn't exist
Fixes Homebrew#5188 (again).
  • Loading branch information
mistydemeo committed Jun 19, 2012
1 parent cf53629 commit f50a3db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/cmd/doctor.rb
Expand Up @@ -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.
Expand Down

0 comments on commit f50a3db

Please sign in to comment.