Call expand_path on the value of HOMEBREW_CACHE
Fixes Homebrew/homebrew#40752.
This commit is contained in:
parent
7b733b4087
commit
8bdc7b92d8
@ -1,6 +1,6 @@
|
|||||||
def cache
|
def cache
|
||||||
if ENV['HOMEBREW_CACHE']
|
if ENV["HOMEBREW_CACHE"]
|
||||||
Pathname.new(ENV['HOMEBREW_CACHE'])
|
Pathname.new(ENV["HOMEBREW_CACHE"]).expand_path
|
||||||
else
|
else
|
||||||
# we do this for historic reasons, however the cache *should* be the same
|
# we do this for historic reasons, however the cache *should* be the same
|
||||||
# directory whichever user is used and whatever instance of brew is executed
|
# directory whichever user is used and whatever instance of brew is executed
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user