aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/init/sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/init/sync.sh')
-rwxr-xr-xtools/init/sync.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/init/sync.sh b/tools/init/sync.sh
index c515841..04af87e 100755
--- a/tools/init/sync.sh
+++ b/tools/init/sync.sh
@@ -2,8 +2,7 @@
2 2
3# my repo 3# my repo
4sync() { 4sync() {
5 [[ -d $1 || -z $(git remote -v) ]] && return 5 { cd $1 && [[ -n $(git remote -v) ]] || return ; } 2>/dev/null
6 cd $1
7 git pull --quiet || echo in `pwd` >/dev/tty & 6 git pull --quiet || echo in `pwd` >/dev/tty &
8} 7}
9sync $SETTING_DIR 8sync $SETTING_DIR