From: Oleg Broytman Date: Fri, 28 Apr 2017 20:51:45 +0000 (+0300) Subject: Use htdocs.path instead of absolute path X-Git-Tag: 0.2.0~12 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b8363472c1306d0c704a46f028cff95d945a2133;p=sqlconvert.git Use htdocs.path instead of absolute path --- diff --git a/publish-docs b/publish-docs index 5b65ec7..6d2ca7c 100755 --- a/publish-docs +++ b/publish-docs @@ -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" &&