X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update;h=1b9b51822abc9f224b8ab7b50eedef592453b357;hb=46a7a3a453fe17ce7b24ede20c94abfd0aa2b32b;hp=e1b9b1b9749a37dd7168c6127c72f05c17c69996;hpb=02a65d64e190bc5480cc4ccce4cc4e16db1ba66e;p=phdru.name%2Fcgi-bin%2Fblog-ru%2Fsearch-tags.git diff --git a/update b/update index e1b9b1b..1b9b518 100755 --- a/update +++ b/update @@ -27,7 +27,7 @@ rsync -ahP "$current"/html/html.py "$current"/html/html.tmpl \ # Save files generated by yacc rsync -ahP "$current"/parser.out "$current"/parsetab.py . && -cd "$current" && git pull origin && - cgi="`git config --get --path remote.cgi.url`" && -[ -n "$cgi" ] && cd "$cgi" && exec git pull origin +[ -n "$cgi" ] && cd "$cgi" && git pull origin && + +cd "$current" && exec git pull origin