]> git.phdru.name Git - ppu.git/commitdiff
Use htdocs.path instead of absolute path
authorOleg Broytman <phd@phdru.name>
Fri, 28 Apr 2017 20:51:36 +0000 (23:51 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 28 Apr 2017 20:51:36 +0000 (23:51 +0300)
publish-docs

index d6aba1fc0cb21fc9caccb99cc4a1ea03e51404d4..6d2ca7ceb30c45002edafe0535961529968779ff 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-web="$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/remove-old-files/docs
+web="`git config --get --path htdocs.path`" &&
 
 cd "`dirname \"$0\"`"/docs/_build/html &&
 rsync -ahP --del * --exclude=objects.inv "$web" &&