From 931160af7063a2f308434303bd9cd8f4a27d6e96 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 8 Dec 2012 18:49:39 +0100 Subject: [PATCH] Allow the rsync with /. at the end instead --- modules/roles/files/static-mirroring/static-mirror-ssh-wrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/roles/files/static-mirroring/static-mirror-ssh-wrap b/modules/roles/files/static-mirroring/static-mirror-ssh-wrap index b64d838c7..b199ce981 100755 --- a/modules/roles/files/static-mirroring/static-mirror-ssh-wrap +++ b/modules/roles/files/static-mirroring/static-mirror-ssh-wrap @@ -76,7 +76,7 @@ do_rsync() { if [ -e "$COMPONENTLIST" ]; then for path in $(awk -v host="$(hostname -f)" '$2 == host {print $3}' $COMPONENTLIST); do - allowed_rsyncs+=("--server --sender -tre.iLsf . $path") + allowed_rsyncs+=("--server --sender -tre.iLsf . $path/.") done fi for cmd_idx in ${!allowed_rsyncs[*]}; do -- 2.20.1