]> git.phdru.name Git - git-wiki.git/commitdiff
Use htdocs.path instead of absolute path
authorOleg Broytman <phd@phdru.name>
Fri, 28 Apr 2017 20:50:39 +0000 (23:50 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 28 Apr 2017 20:50:39 +0000 (23:50 +0300)
publish

diff --git a/publish b/publish
index b2d843eb579adf3c29e5659c587d4216e1d2ef9c..7c9bffa72db1171e871b707b4391874309c0fb24 100755 (executable)
--- 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" &&