X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=publish;h=7c9bffa72db1171e871b707b4391874309c0fb24;hb=ec82e2b5670b869628f5b64a5b8929e1981fb1cf;hp=1994fc274eb7167ecff12c2559944a089c2ce8df;hpb=7e0594726d685e4f5cb5afea3c5989cf5e978236;p=git-wiki.git diff --git a/publish b/publish index 1994fc2..7c9bffa 100755 --- 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*