From 8605b497103416629f9ca1bc6e76e6276db8f0e5 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Mon, 18 Dec 2017 16:07:37 +0100 Subject: [PATCH] new.sh: avoid multiple redirects when creating .gitignore --- libexec/new.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 <