Fixed bug in rdiff.helper that kept include and exclude lines from being put in the...
authorMicah Anderson <micah@riseup.net>
Sat, 5 Nov 2005 20:47:44 +0000 (20:47 +0000)
committerMicah Anderson <micah@riseup.net>
Sat, 5 Nov 2005 20:47:44 +0000 (20:47 +0000)
handlers/rdiff.helper

index fdbdefe9ab5675b73df98b265d1bbec9a5fb0d87..c69184862fb81e87f8c011555047911cd931e342 100644 (file)
@@ -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