Skip to content
Snippets Groups Projects
Commit 8bdc7b92 authored by Jack Nagel's avatar Jack Nagel
Browse files

Call expand_path on the value of HOMEBREW_CACHE

Fixes Homebrew/homebrew#40752.
parent 7b733b40
No related branches found
No related tags found
No related merge requests found
def cache
if ENV['HOMEBREW_CACHE']
Pathname.new(ENV['HOMEBREW_CACHE'])
if ENV["HOMEBREW_CACHE"]
Pathname.new(ENV["HOMEBREW_CACHE"]).expand_path
else
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment