diff options
| author | Adam Vandenberg | 2011-08-07 10:01:00 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-08-07 10:01:52 -0700 |
| commit | fae72fe7ca3296bb4dcd67f7a7cff4d11d1d217e (patch) | |
| tree | bb6a76d30567ad662797094280fa86386453d04e /Library/Homebrew | |
| parent | 9e5e27b425d69d1a7b68f6f6a584c22b268738b2 (diff) | |
| download | homebrew-fae72fe7ca3296bb4dcd67f7a7cff4d11d1d217e.tar.bz2 | |
brew doctor: do not check TMPDIR if it is not set
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
