X-Git-Url: https://git.ao2.it/drupal-init-tools.git/blobdiff_plain/8605b497103416629f9ca1bc6e76e6276db8f0e5..5cf5f7df4992912294decc33d59840aaa05bfb3d:/libexec/new.sh?ds=sidebyside diff --git a/libexec/new.sh b/libexec/new.sh index 0259f4e..890b1d0 100755 --- a/libexec/new.sh +++ b/libexec/new.sh @@ -65,10 +65,8 @@ pushd "$DESTDIR" git remote rename origin upstream git checkout -b master -# 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 <> .gitignore <