--debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
5edf39f111
commit
d052e2d510
1 changed files with 1 additions and 2 deletions
|
@ -37,7 +37,6 @@ for arg in $@; do
|
||||||
fi
|
fi
|
||||||
index=$((index+=1))
|
index=$((index+=1))
|
||||||
if [ $index -eq $source_index -a -d "$arg" ]; then
|
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
|
# if the source is a directory, it has to end with "/" for rsync to do the right thing
|
||||||
arg="${arg%/}/"
|
arg="${arg%/}/"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue