From 909ecc238759ab0961af7b72320ae8a455cb42b2 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 23 Oct 2017 13:44:50 +0200 Subject: [PATCH] Ensured build does not fail when trying to delete missing optional files --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index b3c65a53..b90d0b2e 100755 --- a/build.sh +++ b/build.sh @@ -20,8 +20,8 @@ cp -R "${projectdir}"/* "${builtcontent}" cd "${builtcontent}" # Install dependencies -rm -r vendor -rm composer.lock +rm -rf vendor +rm -f composer.lock composer self-update composer install --no-dev --optimize-autoloader --no-progress --no-interaction @@ -35,8 +35,8 @@ rm indocker rm docker-compose.yml rm php* rm README.md -rm -r build -rm -f data/database.sqlite +rm -rf build +rm -ff data/database.sqlite rm -rf data/infra rm -rf data/{cache,log,proxies}/{*,.gitignore} rm -rf config/params/{*,.gitignore}