From b8363472c1306d0c704a46f028cff95d945a2133 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 28 Apr 2017 23:51:45 +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 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" && -- 2.39.5