From d00bfd3280f0425c13bef623363c54f68cddb883 Mon Sep 17 00:00:00 2001 From: wwccss Date: Mon, 23 Sep 2013 09:48:50 +0800 Subject: [PATCH] * fix the bug. --- tools/syncext.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/syncext.sh b/tools/syncext.sh index cb9e531f96..b73773d37e 100755 --- a/tools/syncext.sh +++ b/tools/syncext.sh @@ -20,11 +20,11 @@ if [ $? -ne 0 ]; then fi # Get $src and $dest. -src=$1 -dest=$2 +src=$1/ +dest=$2/ # Rsync when the shell load first. -rsync -aqP --exclude='*.svn' $src/ $dest +rsync -aqP --exclude='*.svn' $src $dest echo `date "+%H:%M:%S"` sync $src to $dest succssfully. # Watch the $src directory, and sync files to destination.