diff options
| -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 |
