mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-23 03:02:32 +01:00
Fixed bug in rdiff.helper that kept include and exclude lines from being put in the file
This commit is contained in:
parent
f61431d37f
commit
5f6dc7d1b9
@ -189,10 +189,10 @@ keep = $rdiff_keep
|
||||
EOF
|
||||
set -o noglob
|
||||
for ((i=0; i < ${#rdiff_includes[@]} ; i++)); do
|
||||
echo include = ${rdiff_includes[$i]}
|
||||
echo "include = ${rdiff_includes[$i]}" >> $next_filename
|
||||
done
|
||||
for ((i=0; i < ${#rdiff_includes[@]} ; i++)); do
|
||||
echo exclude = ${rdiff_excludes[$i]}
|
||||
for ((i=0; i < ${#rdiff_excludes[@]} ; i++)); do
|
||||
echo exclude = ${rdiff_excludes[$i]} >> $next_filename
|
||||
done
|
||||
set +o noglob
|
||||
cat >> $next_filename <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user