From: Antonio Ospite Date: Mon, 18 Dec 2017 15:07:37 +0000 (+0100) Subject: new.sh: avoid multiple redirects when creating .gitignore X-Git-Tag: v0.1.0~3 X-Git-Url: https://git.ao2.it/drupal-init-tools.git/commitdiff_plain/8605b497103416629f9ca1bc6e76e6276db8f0e5 new.sh: avoid multiple redirects when creating .gitignore --- diff --git a/libexec/new.sh b/libexec/new.sh index 2064c89..0259f4e 100755 --- a/libexec/new.sh +++ b/libexec/new.sh @@ -64,9 +64,6 @@ pushd "$DESTDIR" git remote rename origin upstream git checkout -b master -echo >> .gitignore -echo "# Ignore the configuration for the bootstrap script" >> .gitignore -echo "bootstrap.conf" >> .gitignore # Add some patches, use sed until composer can do that from the command line # (e.g. composer config ...) @@ -114,6 +111,11 @@ cat > bootstrap.conf < .gitignore <