From 8989dd0488670beb82419a80c0df268eea83d80b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 6 Jul 2015 18:54:30 +0300 Subject: [PATCH] Fix current/origin directories --- update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 . -- 2.39.2