X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update;h=e1b9b1b9749a37dd7168c6127c72f05c17c69996;hb=02a65d64e190bc5480cc4ccce4cc4e16db1ba66e;hp=d668175cdfa160f01965c579877ea717ff709cf1;hpb=c7e506be9b8c785dbdfae35247e5f3ed5c0e90f0;p=phdru.name%2Fcgi-bin%2Fblog-ru%2Fsearch-tags.git diff --git a/update b/update index d668175..e1b9b1b 100755 --- a/update +++ b/update @@ -24,4 +24,10 @@ web="`git config --get --path remote.web.url`" && rsync -ahP "$current"/html/html.py "$current"/html/html.tmpl \ "$current"/html/redirect.py "$current"/html/redirect.tmpl html && -cd "$current" && exec git pull origin +# Save files generated by yacc +rsync -ahP "$current"/parser.out "$current"/parsetab.py . && + +cd "$current" && git pull origin && + +cgi="`git config --get --path remote.cgi.url`" && +[ -n "$cgi" ] && cd "$cgi" && exec git pull origin