build: Fix ternary if

This commit is contained in:
Starbeamrainbowlabs 2019-03-30 12:03:25 +00:00
parent 32d09dd5ad
commit b159a6af3e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

2
build
View file

@ -76,7 +76,7 @@ task_download-composer() {
if [ -f "${cache_dir}/composer" ]; then if [ -f "${cache_dir}/composer" ]; then
return 0; return 0;
fi fi
[ ! -d "${cache_dir}" ] || mkdir "${cache_dir}"; [ ! -d "${cache_dir}" ] && mkdir "${cache_dir}";
task_begin "Downloading composer"; task_begin "Downloading composer";