diff --git a/ccollect.sh b/ccollect.sh index da2a8e7..98d5720 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -341,7 +341,9 @@ while [ "$i" -lt "$no_sources" ]; do # extra options for rsync # if [ -f "${c_rsync_extra}" ]; then - RSYNC_EXTRA="$(cat "${c_rsync_extra}")" + while read line; do + set -- "$@" "$line" + RSYNC_EXTRA="$(cat "${c_rsync_extra}")" fi # diff --git a/doc/CHANGES b/doc/CHANGES index abc7478..7f39a8c 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,8 +1,9 @@ -0.5.2 to 0.5.3: +0.5.2 to 0.6: * add 'exec-after-rm' (source specific) configuration * added logwrapper * Always print return code of rsync * Add much more timing information + * One option per line in rsync_options now 0.5.1 to 0.5.2: * Display correct error code, if rsync returns non-zero