echo "Creating a new Drupal project..."
composer create-project drupal-composer/drupal-project:8.x-dev@dev "$DESTDIR" --keep-vcs --stability dev --no-interaction
-pushd "$DESTDIR"
+pushd "$DESTDIR" > /dev/null
git remote rename origin upstream
git checkout -b master
#MYSQL_SU_PASSWORD='password'
EOF
-cat > .gitignore <<EOF
+cat >> .gitignore <<EOF
+
# Ignore the configuration for the bootstrap script
bootstrap.conf
EOF
echo "Double check the provided .htaccess file to make sure that access to"
echo "'$PWD' is restricted by the web server."
-popd
+popd > /dev/null