X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/50b546739d6ba90d12b21700dcd02cebc07f0b7f..e952591fbade4a5eff19e7497806a434c32d9590:/libexec/new.sh diff --git a/libexec/new.sh b/libexec/new.sh index 2064c89..bc88c00 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 <