From 0e8ba494057fb36b7054bee87907fd8ad38baffb Mon Sep 17 00:00:00 2001 From: Gyanendra Mishra Date: Tue, 19 Mar 2024 00:06:28 +0900 Subject: [PATCH] handle quoting later --- .../user_services_functions/start_user_services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/user_services_functions/start_user_services.go b/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/user_services_functions/start_user_services.go index f43250df67..30825d26e3 100644 --- a/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/user_services_functions/start_user_services.go +++ b/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/user_services_functions/start_user_services.go @@ -775,7 +775,7 @@ func handleFilesToBeMovedForDockerCompose(ctx context.Context, dockerManager *do for source, destination := range filesToBeMoved { sourceDir := path.Dir(source) + "/*" // TODO improve this; the first condition handles files the other folders - concatenatedFilesToBeMoved = append(concatenatedFilesToBeMoved, fmt.Sprintf("(mv %v %v || mv %v %v)", strconv.Quote(source), strconv.Quote(destination), strconv.Quote(sourceDir), strconv.Quote(destination))) + concatenatedFilesToBeMoved = append(concatenatedFilesToBeMoved, fmt.Sprintf("(mv %v %v || mv %v %v)", source, destination, sourceDir, destination)) } concatenatedFilesToBeMovedAsStr := strings.Join(concatenatedFilesToBeMoved, " && ")