]> git.phdru.name Git - cookiecutter.git/commitdiff
Rename directory 'project' to project's name
authorOleg Broytman <phd@phdru.name>
Fri, 22 Jul 2016 02:11:44 +0000 (05:11 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 22 Jul 2016 02:11:44 +0000 (05:11 +0300)
cookiecutter

index 936caffe3ad085e7109e55897dde04ee437e0a58..51322682fab678dd59ea05b5a4b5a41fcf87e146 100755 (executable)
@@ -12,6 +12,8 @@ rm -rf "$HOME/tmp/$project_name" &&
 cp -ap project_template "$HOME/tmp/$project_name" &&
 
 cd "$HOME/tmp/$project_name" &&
+mv project "$project_name" &&
+
 replace -i "template project" "$project_name" README.txt setup.py &&
 replace project "$project_name" docs/genapidocs mk-distr publish-docs setup.py &&