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