From 72bc6b1927f48d0628d0b3c9eef0d560a55cb1f0 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Sun, 1 Jul 2018 12:33:14 -0400 Subject: [PATCH] config: Remove /tmp fallback We provide a /private/tmp fallback in bin/brew, so this is no longer necessary. --- Library/Homebrew/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/config.rb b/Library/Homebrew/config.rb index a2515be2b0..fde65c978d 100644 --- a/Library/Homebrew/config.rb +++ b/Library/Homebrew/config.rb @@ -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