X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update;h=9bf0ec93ee6699c3c542e0d12042517328918a3d;hb=64469abf1cd80bf1dcd4fe8ab2bfe6205193deea;hp=4f62f6407b123ad8a710bab2861a3d3160296499;hpb=ff36d4eed6707aed9ba6b5530e76ad93cab9cb85;p=phdru.name%2Fcgi-bin%2Fblog-ru%2Fsearch-tags.git 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 &&