From 6666494551e4c8ed68fb46fcbcc89f334a283012 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 7 Aug 2011 10:01:00 -0700 Subject: [PATCH] brew doctor: do not check TMPDIR if it is not set --- Library/Homebrew/cmd/doctor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 03eec12a81..5bf8d03aa4 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -711,6 +711,7 @@ end def check_tmpdir tmpdir = ENV['TMPDIR'] + return if tmpdir.nil? if !File.directory?(tmpdir) puts "$TMPDIR #{tmpdir.inspect} doesn't exist." puts