config: Ensure HOMEBREW_TEMP is absolute
This commit is contained in:
parent
696a1d1e7e
commit
d7cdc9b9a3
@ -39,7 +39,7 @@ HOMEBREW_CACHE_FORMULA = HOMEBREW_CACHE/"Formula"
|
|||||||
HOMEBREW_LOGS = Pathname.new(ENV["HOMEBREW_LOGS"] || "~/Library/Logs/Homebrew/").expand_path
|
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
|
# Must use /tmp instead of $TMPDIR because long paths break Unix domain sockets
|
||||||
HOMEBREW_TEMP = Pathname.new(ENV.fetch("HOMEBREW_TEMP", "/tmp"))
|
HOMEBREW_TEMP = Pathname.new(ENV.fetch("HOMEBREW_TEMP", "/tmp")).realpath
|
||||||
|
|
||||||
unless defined? HOMEBREW_LIBRARY_PATH
|
unless defined? HOMEBREW_LIBRARY_PATH
|
||||||
# Root of the Homebrew code base
|
# Root of the Homebrew code base
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user