Ensure cache folder exists

This commit is contained in:
Adam Vandenberg 2011-10-11 10:13:16 -07:00
parent d73df34bc6
commit 017d8690d3

View File

@ -29,6 +29,7 @@ HOMEBREW_REPOSITORY.cd do
end
# The cache directory seems like a good place to put patches.
HOMEBREW_CACHE.mkpath
patchpath = (HOMEBREW_CACHE+File.basename(url))
curl url, '-o', patchpath