From: Oleg Broytman Date: Mon, 6 Jul 2015 15:54:30 +0000 (+0300) Subject: Fix current/origin directories X-Git-Tag: 2.7.0~46 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8989dd0488670beb82419a80c0df268eea83d80b;p=mimedecode.git Fix current/origin directories --- diff --git a/update b/update index 0322c1f..e026690 100755 --- a/update +++ b/update @@ -2,8 +2,10 @@ "$HOME"/admin/prog/git-scripts/update || exit 1 -current="`git config --get --path remote.current.url`" +current="`pwd`" +origin="`git config --get --path remote.origin.url`" # Copy mimedecode.docbook with timestamp to avoid rebuilding +cd "$origin" exec rsync -ahP "$current"/mimedecode.docbook "$current"/mimedecode.man \ "$current"/mimedecode.html "$current"/mimedecode.txt .