diff options
| author | Jack Nagel | 2015-06-15 21:18:12 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-06-15 21:21:53 -0400 |
| commit | 8bdc7b92d8f9b5bff1207b362295abc226d1d79c (patch) | |
| tree | 64423401ebf9d92b0464f6334590358ca974f882 /Library | |
| parent | 7b733b408799c6a44343b5e5d5b68e6f26842783 (diff) | |
| download | brew-8bdc7b92d8f9b5bff1207b362295abc226d1d79c.tar.bz2 | |
Call expand_path on the value of HOMEBREW_CACHE
Fixes Homebrew/homebrew#40752.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/config.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/config.rb b/Library/Homebrew/config.rb index 294e32db2..fe153bf6d 100644 --- a/Library/Homebrew/config.rb +++ b/Library/Homebrew/config.rb @@ -1,6 +1,6 @@ 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 |
