Default HOMEBREW_TEMP to Dir.tmpdir
This commit is contained in:
parent
c7ca28a161
commit
a14085acd3
@ -49,7 +49,7 @@ end
|
|||||||
|
|
||||||
HOMEBREW_LOGS = Pathname.new(ENV['HOMEBREW_LOGS'] || '~/Library/Logs/Homebrew/').expand_path
|
HOMEBREW_LOGS = Pathname.new(ENV['HOMEBREW_LOGS'] || '~/Library/Logs/Homebrew/').expand_path
|
||||||
|
|
||||||
HOMEBREW_TEMP = Pathname.new(ENV.fetch('HOMEBREW_TEMP', '/tmp'))
|
HOMEBREW_TEMP = Pathname.new(ENV["HOMEBREW_TEMP"] || Dir.tmpdir)
|
||||||
|
|
||||||
if not defined? HOMEBREW_LIBRARY_PATH
|
if not defined? HOMEBREW_LIBRARY_PATH
|
||||||
HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.parent.join("Homebrew")
|
HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.parent.join("Homebrew")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user