From: Oleg Broytman Date: Sat, 24 Dec 2022 15:58:54 +0000 (+0300) Subject: Fix(mk-project): `sed` requires `s` for substitute X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8eea79d1b0e8fef0adda75a7ba2a3af4e881197d;p=cookiecutter.git Fix(mk-project): `sed` requires `s` for substitute --- diff --git a/mk-project b/mk-project index eecfa53..788ddbe 100755 --- a/mk-project +++ b/mk-project @@ -14,7 +14,7 @@ cp -ap project_template "$HOME/tmp/$project_name" && cd "$HOME/tmp/$project_name" && mv project "$project_name" && -sed -i /'{project}'/"$project_name"/g .gitignore README.rst \ +sed -i s/'{project}'/"$project_name"/g .gitignore README.rst \ devscripts/README.html docs/genapidocs docs/install.rst \ mk-distr publish-docs setup.py tox.ini &&