From 64469abf1cd80bf1dcd4fe8ab2bfe6205193deea Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 22 Jun 2014 19:56:40 +0400 Subject: [PATCH] Copy files generated by yacc to cgi-bin --- update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 && -- 2.39.2