aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-06-19 09:24:19 -0500
committerMisty De Meo2012-06-19 09:24:59 -0500
commitc2b057fc70b1ad11e429a55c96218f772ab62414 (patch)
tree012fb3738e3ee77558ce87acdd36f7cf5cd7dd36 /Library
parent9ebb1a3d08a3c84b8f176d2cbe5fbb4fe20716a4 (diff)
downloadbrew-c2b057fc70b1ad11e429a55c96218f772ab62414.tar.bz2
doctor: skip Cellar test if Cellar doesn't exist
Fixes Homebrew/homebrew#5188 (again).
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 11eabe281..9d296b23e 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.