From: Micah Anderson Date: Sat, 5 Nov 2005 20:47:44 +0000 (+0000) Subject: Fixed bug in rdiff.helper that kept include and exclude lines from being put in the... X-Git-Tag: backupninja-0.9.2~75 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=5f6dc7d1b9eafb760f29abb9f87cccaf44845020;p=matthijs%2Fupstream%2Fbackupninja.git Fixed bug in rdiff.helper that kept include and exclude lines from being put in the file --- diff --git a/handlers/rdiff.helper b/handlers/rdiff.helper index fdbdefe..c691848 100644 --- a/handlers/rdiff.helper +++ b/handlers/rdiff.helper @@ -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 <