Make sure download directory exists.
This commit is contained in:
parent
9ffc7dd465
commit
85a6d81e2a
@ -253,6 +253,8 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
|
||||
ohai "Downloading from #{url}"
|
||||
end
|
||||
|
||||
temporary_path.dirname.mkpath
|
||||
|
||||
curl_download resolved_url(url), to: temporary_path
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user