aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-06-19 10:05:11 -0500
committerMisty De Meo2012-06-19 10:08:19 -0500
commit0d2e26fc585c8b82f5b7c50bf98f0e0b89a690f2 (patch)
tree2830eec0576e1cf007bc68f199cd2bfbd9c61cf9 /Library
parentd1baf42d941973f01dbd71901dbbe9a521282236 (diff)
downloadbrew-0d2e26fc585c8b82f5b7c50bf98f0e0b89a690f2.tar.bz2
doctor: skip missing_deps when no Cellar exists
Another fix for Homebrew/homebrew#5188.
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 d4cd7f349..c2131445a 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|