X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/50b546739d6ba90d12b21700dcd02cebc07f0b7f..9623d6a97b2569706649c4f19f9bac7fd4bba4ff:/libexec/new.sh diff --git a/libexec/new.sh b/libexec/new.sh index 2064c89..7c4f1b6 100755 --- a/libexec/new.sh +++ b/libexec/new.sh @@ -64,14 +64,9 @@ 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 ...) -sed -i -e 's@"extra": {@"extra": {\ - "patches-file": "composer.patches.json",@' composer.json +# Add some patches +composer config extra.patches-file "composer.patches.json" cat > composer.patches.json < bootstrap.conf < .gitignore <