aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-05-03 10:46:23 -0400
committerJack Nagel2015-05-03 10:46:23 -0400
commit04ac482809e164ea7304060b957d8caf72e10725 (patch)
tree51d1e9340b67aeb3feb2ff7fb8a3fb83bfb6db5b /Library
parentc5243b0e5c3bfb6fedb666d69cd1c54d199d27d1 (diff)
downloadbrew-04ac482809e164ea7304060b957d8caf72e10725.tar.bz2
Revert "Default HOMEBREW_TEMP to Dir.tmpdir"
This reverts commit b95f27ce9f956c56d080b6dc29ba8efb841c6690.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/config.rb b/Library/Homebrew/config.rb
index 4002fff3d..294e32db2 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")