Ensure cache folder exists
This commit is contained in:
parent
d73df34bc6
commit
017d8690d3
@ -29,6 +29,7 @@ HOMEBREW_REPOSITORY.cd do
|
|||||||
end
|
end
|
||||||
|
|
||||||
# The cache directory seems like a good place to put patches.
|
# The cache directory seems like a good place to put patches.
|
||||||
|
HOMEBREW_CACHE.mkpath
|
||||||
patchpath = (HOMEBREW_CACHE+File.basename(url))
|
patchpath = (HOMEBREW_CACHE+File.basename(url))
|
||||||
curl url, '-o', patchpath
|
curl url, '-o', patchpath
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user