]> git.phdru.name Git - cookiecutter.git/commitdiff
Fix(mk-project): `sed` requires `s` for substitute
authorOleg Broytman <phd@phdru.name>
Sat, 24 Dec 2022 15:58:54 +0000 (18:58 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 24 Dec 2022 15:58:54 +0000 (18:58 +0300)
mk-project

index eecfa53d03c23d52845f9a5fb7d49215c013ba7b..788ddbec1779257f68c8ec1fed7ac61385fe359e 100755 (executable)
@@ -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 &&