Create the cache directory if it doesn't exist

pull/35/head
Starbeamrainbowlabs 4 years ago
parent 2d94af6913
commit 32d09dd5ad
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 2
      build

@ -76,6 +76,8 @@ task_download-composer() {
if [ -f "${cache_dir}/composer" ]; then
return 0;
fi
[ ! -d "${cache_dir}" ] || mkdir "${cache_dir}";
task_begin "Downloading composer";
curl "https://getcomposer.org/composer.phar" -o "${cache_dir}/composer"; exit_code=$?;

Loading…
Cancel
Save