X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/4a198901f9f94ea9b0bad3ff39e8b083aac25b8a..c998fc0d092e0c5755931f2ddd779e97c72f131a:/libexec/clean.sh diff --git a/libexec/clean.sh b/libexec/clean.sh index cd33b60..b1b4c16 100755 --- a/libexec/clean.sh +++ b/libexec/clean.sh @@ -43,6 +43,8 @@ do shift done +[ -f "bootstrap.conf" ] || { echo "Aborting, run this command from the Drupal project directory." 1>&2; exit 1; } + CONFIRMATION_STRING="YESIAMSURE" echo "WARNING! This removes any files in the config/ web/ and vendor/ directories."