Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/2.0
Steven Armstrong 13 years ago
parent 5edf39f111
commit d052e2d510
  1. 1
      other/examples/remote/rsync/copy

@ -37,7 +37,6 @@ for arg in $@; do
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

Loading…
Cancel
Save