From fae72fe7ca3296bb4dcd67f7a7cff4d11d1d217e Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 7 Aug 2011 10:01:00 -0700 Subject: brew doctor: do not check TMPDIR if it is not set --- Library/Homebrew/cmd/doctor.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 03eec12a8..5bf8d03aa 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 -- cgit v1.2.3