From 7c70c834cca22ad6ce1f6b33ccdd507f31fbfdd2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 27 Feb 2012 17:17:56 -0300 Subject: Force rsync handler run bash at the remote destination (upstream #3003) --- handlers/rsync.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/handlers/rsync.in b/handlers/rsync.in index b2c4b59..4905ace 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -282,8 +282,9 @@ 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" } function rotate_short { -- cgit v1.2.3