Doctor: fix check_access_logs

Fixes Homebrew/homebrew#23936.
This commit is contained in:
Misty De Meo 2013-11-03 18:51:22 -08:00
parent b1d78cf642
commit f643b84dc4

View File

@ -383,13 +383,13 @@ end
def check_access_logs def check_access_logs
if HOMEBREW_LOGS.exist? and not HOMEBREW_LOGS.writable_real? if HOMEBREW_LOGS.exist? and not HOMEBREW_LOGS.writable_real?
<<-EOS.undent <<-EOS.undent
#{folder} isn't writable. #{HOMEBREW_LOGS} isn't writable.
This can happen if you "sudo make install" software that isn't managed This can happen if you "sudo make install" software that isn't managed
by Homebrew. by Homebrew.
Homebrew writes debugging logs to this location. Homebrew writes debugging logs to this location.
You should probably `chown` #{folder} You should probably `chown` #{HOMEBREW_LOGS}
EOS EOS
end end
end end