forked from ungleich-public/ccollect
Change rsync_options to one argument per line
This commit is contained in:
parent
63a683941f
commit
ed91b488da
2 changed files with 5 additions and 2 deletions
|
@ -341,7 +341,9 @@ while [ "$i" -lt "$no_sources" ]; do
|
||||||
# extra options for rsync
|
# extra options for rsync
|
||||||
#
|
#
|
||||||
if [ -f "${c_rsync_extra}" ]; then
|
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
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
0.5.2 to 0.5.3:
|
0.5.2 to 0.6:
|
||||||
* add 'exec-after-rm' (source specific) configuration
|
* add 'exec-after-rm' (source specific) configuration
|
||||||
* added logwrapper
|
* added logwrapper
|
||||||
* Always print return code of rsync
|
* Always print return code of rsync
|
||||||
* Add much more timing information
|
* Add much more timing information
|
||||||
|
* One option per line in rsync_options now
|
||||||
|
|
||||||
0.5.1 to 0.5.2:
|
0.5.1 to 0.5.2:
|
||||||
* Display correct error code, if rsync returns non-zero
|
* Display correct error code, if rsync returns non-zero
|
||||||
|
|
Loading…
Reference in a new issue