X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/cedf7fe8417a476a74847a1c724520851d150a79..3451b71196a4beb632d7f9d37fdeee6ce4b4a811:/libexec/new.sh diff --git a/libexec/new.sh b/libexec/new.sh index 890b1d0..c083b59 100755 --- a/libexec/new.sh +++ b/libexec/new.sh @@ -60,7 +60,7 @@ command -v git &> /dev/null || { echo "Aborting, 'git' not available." 1>&2; exi 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 @@ -140,4 +140,4 @@ echo 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