From: Peter Palfrader Date: Thu, 25 Apr 2013 12:30:07 +0000 (+0200) Subject: Sync into right directory on mirror X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=768ca46a295b74d1bc412586bd0b6577185d3624;p=mirror%2Fdsa-puppet.git Sync into right directory on mirror --- diff --git a/modules/roles/files/static-mirroring/static-mirror-ssh-wrap b/modules/roles/files/static-mirroring/static-mirror-ssh-wrap index b4c8447b8..4ee9bbd00 100755 --- a/modules/roles/files/static-mirroring/static-mirror-ssh-wrap +++ b/modules/roles/files/static-mirroring/static-mirror-ssh-wrap @@ -66,7 +66,7 @@ do_mirror() { local serial="$1"; shift info "Host $remote_host triggered a mirror run for $component, serial $serial" - exec /usr/local/bin/static-mirror-run "$basedir" "$remote_host:$component/-new-" "$serial" + exec /usr/local/bin/static-mirror-run "$basedir/$component" "$remote_host:$component/-new-" "$serial" echo >&2 "Exec failed" croak "exec failed" }