From b587858d7d1fd3528ddf9eb838d82f9e2d68e6d1 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 28 Apr 2017 23:51:36 +0300 Subject: [PATCH] Use htdocs.path instead of absolute path --- publish-docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" && -- 2.39.5