mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix source cache directory creation
This commit is contained in:
parent
45d8f3789f
commit
47bf7b8a8a
@ -50,7 +50,7 @@ class Mktemp
|
||||
@tmpdir = if retain_in_cache?
|
||||
tmpdir = HOMEBREW_CACHE/"Sources/#{prefix_name}"
|
||||
chmod_rm_rf(tmpdir) # clear out previous staging directory
|
||||
tmpdir.parent.mkpath
|
||||
tmpdir.mkpath
|
||||
tmpdir
|
||||
else
|
||||
Pathname.new(Dir.mktmpdir("#{prefix_name}-", HOMEBREW_TEMP))
|
||||
|
Loading…
x
Reference in New Issue
Block a user