X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/a5cf57cdd6da4511ec7c713a30e5ff8dab5af7ca..0ffd9f77472a04d5c7166e06d8148e178888592f:/libexec/new.sh diff --git a/libexec/new.sh b/libexec/new.sh index 890b1d0..a54abdd 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 @@ -104,7 +104,7 @@ cat > bootstrap.conf < /dev/null