wok rev 3502
tazdev: Tiny fix for rsync mirror
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 19 16:58:33 2009 +0200 (2009-06-19) |
parents | f2257ece4594 |
children | b4180fb6239f |
files | slitaz-dev-tools/stuff/tazdev |
line diff
1.1 --- a/slitaz-dev-tools/stuff/tazdev Fri Jun 19 17:43:16 2009 +0800 1.2 +++ b/slitaz-dev-tools/stuff/tazdev Fri Jun 19 16:58:33 2009 +0200 1.3 @@ -246,19 +246,19 @@ 1.4 echo "================================================================================" 1.5 echo "" ;; 1.6 '-p'|push) 1.7 - check_mirror 1.8 + check_mirror $@ 1.9 rsync -r -t -l -v -z --delete \ 1.10 $LOCAL_DIR -e ssh $USER@$MIRROR:$REMOTE_DIR ;; 1.11 '-dp'|dry-push) 1.12 - check_mirror 1.13 + check_mirror $@ 1.14 rsync -r -t -l -v -z --delete --dry-run \ 1.15 $LOCAL_DIR -e ssh $USER@$MIRROR:$REMOTE_DIR ;; 1.16 pull) 1.17 - check_mirror 1.18 + check_mirror $@ 1.19 rsync -r -t -l -v -z --delete \ 1.20 -e ssh $USER@$MIRROR:$REMOTE_DIR $LOCAL_DIR ;; 1.21 dry-pull) 1.22 - check_mirror 1.23 + check_mirror $@ 1.24 rsync -r -t -l -v -z --delete --dry-run \ 1.25 -e ssh $USER@$MIRROR:$REMOTE_DIR $LOCAL_DIR ;; 1.26 usage|*)