From 04ac482809e164ea7304060b957d8caf72e10725 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 3 May 2015 10:46:23 -0400 Subject: [PATCH] Revert "Default HOMEBREW_TEMP to Dir.tmpdir" This reverts commit b95f27ce9f956c56d080b6dc29ba8efb841c6690. --- 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 4002fff3dc..294e32db20 100644 --- a/Library/Homebrew/config.rb +++ b/Library/Homebrew/config.rb @@ -49,7 +49,7 @@ end HOMEBREW_LOGS = Pathname.new(ENV['HOMEBREW_LOGS'] || '~/Library/Logs/Homebrew/').expand_path -HOMEBREW_TEMP = Pathname.new(ENV["HOMEBREW_TEMP"] || Dir.tmpdir) +HOMEBREW_TEMP = Pathname.new(ENV.fetch('HOMEBREW_TEMP', '/tmp')) if not defined? HOMEBREW_LIBRARY_PATH HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.parent.join("Homebrew")