diff options
| author | Andrew Janke | 2016-01-30 21:40:26 -0500 |
|---|---|---|
| committer | Andrew Janke | 2016-01-30 21:40:26 -0500 |
| commit | 40a287f3c3d09a12b92b5594e09331b9998c5075 (patch) | |
| tree | 29eec555c3130e3aa3e99d8970e29a6f997b14ff /Library | |
| parent | c6e0c9538fdb2a5463bcb28eaa5586cebcb9000b (diff) | |
| download | brew-40a287f3c3d09a12b92b5594e09331b9998c5075.tar.bz2 | |
config.rb: add comment explaining HOMEBREW_TEMP logic
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/config.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/config.rb b/Library/Homebrew/config.rb index 85c471328..98d75a8b8 100644 --- a/Library/Homebrew/config.rb +++ b/Library/Homebrew/config.rb @@ -45,6 +45,7 @@ HOMEBREW_CELLAR = Pathname.new(ENV["HOMEBREW_CELLAR"]) HOMEBREW_LOGS = Pathname.new(ENV["HOMEBREW_LOGS"] || "~/Library/Logs/Homebrew/").expand_path +# Must use /tmp instead of $TMPDIR because long paths break Unix domain sockets HOMEBREW_TEMP = Pathname.new(ENV.fetch("HOMEBREW_TEMP", "/tmp")) unless defined? HOMEBREW_LIBRARY_PATH |
