From f643b84dc48bdbb67fd1d6e2bc3fe1367047f96d Mon Sep 17 00:00:00 2001
From: Misty De Meo <mistydemeo@gmail.com>
Date: Sun, 3 Nov 2013 18:51:22 -0800
Subject: [PATCH] Doctor: fix check_access_logs

Fixes Homebrew/homebrew#23936.
---
 Library/Homebrew/cmd/doctor.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 877b7880eb..61d029d35d 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -383,13 +383,13 @@ end
 def check_access_logs
   if HOMEBREW_LOGS.exist? and not HOMEBREW_LOGS.writable_real?
     <<-EOS.undent
-      #{folder} isn't writable.
+      #{HOMEBREW_LOGS} isn't writable.
       This can happen if you "sudo make install" software that isn't managed
       by Homebrew.
 
       Homebrew writes debugging logs to this location.
 
-      You should probably `chown` #{folder}
+      You should probably `chown` #{HOMEBREW_LOGS}
     EOS
   end
 end
-- 
GitLab