From b8e3bafc071c411c576345a5c6969ee7604d1b96 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 20 May 2014 10:21:27 +0400 Subject: [PATCH] Push to cgi-bin --- update | 3 +++ 1 file changed, 3 insertions(+) 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 && -- 2.39.2