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

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