From: Oleg Broytman Date: Fri, 28 Apr 2017 20:50:39 +0000 (+0300) Subject: Use htdocs.path instead of absolute path X-Git-Url: https://git.phdru.name/?p=git-wiki.git;a=commitdiff_plain;h=be01245abed8c8e142952db2e85853f83f65d698 Use htdocs.path instead of absolute path --- diff --git a/publish b/publish index b2d843e..7c9bffa 100755 --- a/publish +++ b/publish @@ -1,6 +1,6 @@ #! /bin/sh -web="$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/PEPs +web="`git config --get --path htdocs.path`" && rsync -pt git-wiki.txt "$web" && cd "$web" &&