From: Peter Palfrader Date: Sat, 8 Dec 2012 17:49:39 +0000 (+0100) Subject: Allow the rsync with /. at the end instead X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=931160af7063a2f308434303bd9cd8f4a27d6e96;p=mirror%2Fdsa-puppet.git Allow the rsync with /. at the end instead --- 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