aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-07 17:47:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-07 17:47:22 -0300
commit5bc3e60a6789b4d50a9716a0508ab912886ec68a (patch)
tree452331b1872acc549ee58cc7850a289f9cd4c176
parent48134276246a13ac1da72279997f1fac20a1c731 (diff)
downloadbackupninja-5bc3e60a6789b4d50a9716a0508ab912886ec68a.tar.gz
backupninja-5bc3e60a6789b4d50a9716a0508ab912886ec68a.tar.bz2
Rsync: restoring IFS/noglob (rebase issue)feature/rsync
-rw-r--r--handlers/rsync.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in
index ba8a521..fcf7be8 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -282,6 +282,8 @@ function eval_config {
str="${i//__star__/*}"
excludes="${excludes} --exclude='$str'"
done
+ IFS=$SAVEIFS
+ set +o noglob
# Make sure we'll run bash at the destination
ssh_cmd="$ssh_cmd /bin/bash"