brew doctor: do not check TMPDIR if it is not set

This commit is contained in:
Adam Vandenberg committed 2011-08-07 10:01:52 -07:00
1 parent 9e5e27b425
commit fae72fe7ca
1 file changed
+1
+1
View File
@@ -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