From b7d42b3368c5df9d97cb50649d2108ede77225e7 Mon Sep 17 00:00:00 2001 From: micah Date: Sat, 5 Nov 2005 20:47:44 +0000 Subject: [PATCH] Fixed bug in rdiff.helper that kept include and exclude lines from being put in the file git-svn-id: http://code.autistici.org/svn/backupninja/trunk@221 758a04ac-41e6-0310-8a23-8373a73cc35d --- handlers/rdiff.helper | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 <