From: Oleg Broytman Date: Tue, 20 May 2014 06:21:27 +0000 (+0400) Subject: Push to cgi-bin X-Git-Tag: v0.1~9 X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fcgi-bin%2Fblog-ru%2Fsearch-tags.git;a=commitdiff_plain;h=b8e3bafc071c411c576345a5c6969ee7604d1b96 Push to cgi-bin --- diff --git a/update b/update index 7791b42..b6a83ed 100755 --- a/update +++ b/update @@ -20,6 +20,9 @@ git pull --ff-only current master && web="`git config --get --path remote.web.url`" && [ -n "$web" ] && git push web +cgi="`git config --get --path remote.cgi.url`" && +[ -n "$cgi" ] && git push cgi + # Copy templates and generated files with timestamps to avoid rebuilding rsync -ahP "$current"/html/html.py "$current"/html/html.tmpl \ "$current"/html/redirect.py "$current"/html/redirect.tmpl html &&