From: Oleg Broytman Date: Sun, 22 Jun 2014 15:56:40 +0000 (+0400) Subject: Copy files generated by yacc to cgi-bin X-Git-Tag: v0.4~19 X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fcgi-bin%2Fblog-ru%2Fsearch-tags.git;a=commitdiff_plain;h=64469abf1cd80bf1dcd4fe8ab2bfe6205193deea Copy files generated by yacc to cgi-bin --- diff --git a/update b/update index 4f62f64..9bf0ec9 100755 --- a/update +++ b/update @@ -24,7 +24,7 @@ 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 && -# Save files generated by yacc +# Copy files generated by yacc rsync -ahP "$current"/parser.out "$current"/parsetab.py . && cgi="`git config --get --path remote.cgi.url`" && @@ -32,6 +32,7 @@ if [ -n "$cgi" ]; then umask 022 && cd "$cgi" && git pull origin && rsync -ahP "$current"/html/html.py "$current"/html/html.tmpl \ "$current"/html/redirect.py "$current"/html/redirect.tmpl html && + rsync -ahP "$current"/parser.out "$current"/parsetab.py . && compyleall fi &&