aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-11-05 20:47:44 +0000
committerMicah Anderson <micah@riseup.net>2005-11-05 20:47:44 +0000
commit5f6dc7d1b9eafb760f29abb9f87cccaf44845020 (patch)
tree94bcbc87cdda7b47bf4913cca0635b81eb6a53bc /handlers
parentf61431d37f51cf7a931dd3e7183f46d4c4965e5f (diff)
downloadbackupninja-5f6dc7d1b9eafb760f29abb9f87cccaf44845020.tar.gz
backupninja-5f6dc7d1b9eafb760f29abb9f87cccaf44845020.tar.bz2
Fixed bug in rdiff.helper that kept include and exclude lines from being put in the file
Diffstat (limited to 'handlers')
-rw-r--r--handlers/rdiff.helper6
1 files 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 <<EOF