From: micah 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-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=b7d42b3368c5df9d97cb50649d2108ede77225e7;p=matthijs%2Fupstream%2Fbackupninja.git 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 --- 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 <