diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-04-07 17:47:22 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-04-07 17:47:22 -0300 |
commit | 5bc3e60a6789b4d50a9716a0508ab912886ec68a (patch) | |
tree | 452331b1872acc549ee58cc7850a289f9cd4c176 | |
parent | 48134276246a13ac1da72279997f1fac20a1c731 (diff) | |
download | backupninja-5bc3e60a6789b4d50a9716a0508ab912886ec68a.tar.gz backupninja-5bc3e60a6789b4d50a9716a0508ab912886ec68a.tar.bz2 |
Rsync: restoring IFS/noglob (rebase issue)feature/rsync
-rw-r--r-- | handlers/rsync.in | 2 |
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" |