From d052e2d510f3ec4506400bb35a4e81596660dcc7 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 29 May 2012 11:03:15 +0200 Subject: [PATCH] --debug Signed-off-by: Steven Armstrong --- other/examples/remote/rsync/copy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/other/examples/remote/rsync/copy b/other/examples/remote/rsync/copy index 96d3f3de..0d4bd165 100755 --- a/other/examples/remote/rsync/copy +++ b/other/examples/remote/rsync/copy @@ -33,11 +33,10 @@ index=0 for arg in $@; do if [ $index -eq 0 ]; then # reset $@ - set -- + set -- fi index=$((index+=1)) if [ $index -eq $source_index -a -d "$arg" ]; then - echo "directory: $arg" | logger # if the source is a directory, it has to end with "/" for rsync to do the right thing arg="${arg%/}/" fi