aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-10-14 17:48:48 +0800
committertypebrook <typebrook@gmail.com>2019-10-14 17:48:48 +0800
commitcd49acb301200aff338b8bd05018ef8af19f552a (patch)
tree117c7ae7b23dbc858fa7139124fa3e919e0e5004
parentae69fefb4b83cecf7b5cba928e64f761853edd83 (diff)
update
-rwxr-xr-xscripts/check_upstream.sh2
-rwxr-xr-xscripts/sync.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/check_upstream.sh b/scripts/check_upstream.sh
index 3ebf3dd..84adb9e 100755
--- a/scripts/check_upstream.sh
+++ b/scripts/check_upstream.sh
@@ -14,7 +14,7 @@ check_upstream() {
14 head=$2 14 head=$2
15 fi 15 fi
16 16
17 cd ~/$1 17 cd $1
18 git fetch origin && \ 18 git fetch origin && \
19 git rev-list $head | grep $(git rev-parse origin/master) > /dev/null 19 git rev-list $head | grep $(git rev-parse origin/master) > /dev/null
20 20
diff --git a/scripts/sync.sh b/scripts/sync.sh
index 26abc22..665acba 100755
--- a/scripts/sync.sh
+++ b/scripts/sync.sh
@@ -5,5 +5,5 @@ source $DIR/check_upstream.sh
5 5
6cd ~/git/settings && git pull --quiet & 6cd ~/git/settings && git pull --quiet &
7cd ~/vimwiki && git pull --quiet & 7cd ~/vimwiki && git pull --quiet &
8check_upstream git/tig & 8check_upstream ~/git/tig &
9check_upstream .vim_runtime & 9check_upstream ~/.vim_runtime &