diff options
Diffstat (limited to 'bin/parallel-rsync-repos')
-rwxr-xr-x | bin/parallel-rsync-repos | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/parallel-rsync-repos b/bin/parallel-rsync-repos index bd849371766..21921148fa0 100755 --- a/bin/parallel-rsync-repos +++ b/bin/parallel-rsync-repos @@ -32,20 +32,20 @@ if [ -z "$RSYNC" ] ; then RSYNC=rsync fi -if ! cd "$SRC" ; then +if ! cd $SRC ; then echo "cd $SRC failed" exit 1 fi rsyncjob() { - relative_dir="./${1#"$SRC"}" + relative_dir="./${1#$SRC}" if ! $RSYNC --delete --relative -a "$relative_dir" "$DEST" ; then echo "rsync $1 failed" return 1 fi - echo "$1" >> "$LOGFILE" + echo "$1" >> $LOGFILE } export LOGFILE SRC DEST RSYNC |