]> git.phdru.name Git - cookiecutter.git/blobdiff - project_template/publish-docs
Fix rename-project: fix only exiting files
[cookiecutter.git] / project_template / publish-docs
index bca408317c544579314ee5bafc26b3d951eec391..77c93369b36612f46f76fd43c8570c996c82184a 100755 (executable)
@@ -1,8 +1,8 @@
 #! /bin/sh
 
-web="$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/{project}/docs
+web="`git config --get --path htdocs.path`" &&
 
 cd "`dirname \"$0\"`"/docs/_build/html &&
-rsync -ahP --del * --exclude=objects.inv "$web" &&
+rsync -ahP --del * --exclude=/objects.inv "$web" &&
 
 exec chmod -R u=rwX,go=rX "$web"