Remove double code imported with merge
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
d61c9625f4
commit
b014c00d24
1 changed files with 2 additions and 13 deletions
13
ccollect.sh
13
ccollect.sh
|
@ -307,18 +307,7 @@ while [ "${i}" -lt "${no_sources}" ]; do
|
|||
c_marker=".ccollect-marker"
|
||||
|
||||
#
|
||||
# Read possible options
|
||||
#
|
||||
for opt in exclude verbose very_verbose rsync_options summary delete_incomplete remote_host ; do
|
||||
if [ -f "${backup}/${opt}" -o -f "${backup}/no_${opt}" ]; then
|
||||
eval c_$opt=\"${backup}/$opt\"
|
||||
else
|
||||
eval c_$opt=\"${CDEFAULTS}/$opt\"
|
||||
fi
|
||||
done
|
||||
|
||||
#
|
||||
# first execute pre_exec, which may generate destination or other parameters
|
||||
# First execute pre_exec, which may generate destination or other parameters
|
||||
#
|
||||
if [ -x "${c_pre_exec}" ]; then
|
||||
_techo "Executing ${c_pre_exec} ..."
|
||||
|
|
Loading…
Reference in a new issue