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}"
|
ohai "Downloading from #{url}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
temporary_path.dirname.mkpath
|
||||||
|
|
||||||
curl_download resolved_url(url), to: temporary_path
|
curl_download resolved_url(url), to: temporary_path
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user