From 768ca46a295b74d1bc412586bd0b6577185d3624 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 25 Apr 2013 14:30:07 +0200 Subject: [PATCH] Sync into right directory on mirror --- 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 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" } -- 2.20.1