config: Remove /tmp fallback

We provide a /private/tmp fallback in bin/brew, so
this is no longer necessary.
This commit is contained in:
William Woodruff 2018-07-01 12:33:14 -04:00
parent 8e4aab92aa
commit 72bc6b1927
No known key found for this signature in database
GPG Key ID: 600D68320BE45ACC

View File

@ -39,7 +39,7 @@ HOMEBREW_CACHE_FORMULA = HOMEBREW_CACHE/"Formula"
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")).realpath
HOMEBREW_TEMP = Pathname.new(ENV["HOMEBREW_TEMP"]).realpath
unless defined? HOMEBREW_LIBRARY_PATH
# Root of the Homebrew code base