new.sh: remove some extra indentation int he bootstrap.conf template
[drupal-init-tools.git] / libexec / new.sh
index 890b1d0..a54abdd 100755 (executable)
@@ -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 <<EOF
 #  "localhost"
 #  "ip4-localhost"
 #  "ip6-localhost"
-#  )
+#)
 
 # See the 'drin' man page for details about database access.
 
@@ -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