]> git.phdru.name Git - git-wiki.git/blobdiff - publish
Add GitAhead
[git-wiki.git] / publish
diff --git a/publish b/publish
index 1994fc274eb7167ecff12c2559944a089c2ce8df..7c9bffa72db1171e871b707b4391874309c0fb24 100755 (executable)
--- a/publish
+++ b/publish
@@ -1,7 +1,7 @@
 #! /bin/sh
 
-web="$HOME"/Internet/WWW/htdocs/phdru.name/Software/Python/PEPs
-rsync -pt pep-103.txt "$web" &&
+web="`git config --get --path htdocs.path`" &&
+rsync -pt git-wiki.txt "$web" &&
 cd "$web" &&
 
 echo \
@@ -11,12 +11,12 @@ echo \
 #attr $Description = "Broytman Python Software Git"
 #attr $Copyright = 2015
 ##
-#def body_rst' >pep-103.tmpl &&
+#def body_rst' >git-wiki.tmpl &&
 
-sed -e 's/\$/\\&/g' pep-103.txt >>pep-103.tmpl &&
+sed -e 's/\$/\\&/g' git-wiki.txt >>git-wiki.tmpl &&
 
 echo \
 '#end def
-$phd_site.respond(self)' >>pep-103.tmpl &&
+$phd_site.respond(self)' >>git-wiki.tmpl &&
 
-exec chmod u=rw,go=r "$web"/pep-103.t*
+exec chmod u=rw,go=r "$web"/git-wiki.t*