aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/doctor.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-31 16:58:55 -0700
committerMike McQuaid2013-10-31 17:02:20 -0700
commit348de94b4bca74b47d410f0b05f8a5ed572603f0 (patch)
tree835de3c7269b0f7b93127c6cf40be15596832b6a /Library/Homebrew/cmd/doctor.rb
parent0747d05362fded960669816820f93c581e7e00bc (diff)
downloadhomebrew-348de94b4bca74b47d410f0b05f8a5ed572603f0.tar.bz2
Use HOMEBREW_LOGS more consistently.
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
-rw-r--r--Library/Homebrew/cmd/doctor.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index b306b5850..877b7880e 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -381,8 +381,7 @@ end
end
def check_access_logs
- folder = Pathname.new('~/Library/Logs/Homebrew')
- if folder.exist? and not folder.writable_real?
+ if HOMEBREW_LOGS.exist? and not HOMEBREW_LOGS.writable_real?
<<-EOS.undent
#{folder} isn't writable.
This can happen if you "sudo make install" software that isn't managed