From e5fa53e74458f488956d3612cdd953635d4604b2 Mon Sep 17 00:00:00 2001 From: Gavin Halliday Date: Thu, 21 Sep 2023 12:56:37 +0100 Subject: [PATCH] HPCC-30325 eclccserver fetch repos to local directory Signed-off-by: Gavin Halliday --- ecl/eclccserver/eclccserver.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ecl/eclccserver/eclccserver.cpp b/ecl/eclccserver/eclccserver.cpp index eba8f16770e..dd1d6dc1f31 100644 --- a/ecl/eclccserver/eclccserver.cpp +++ b/ecl/eclccserver/eclccserver.cpp @@ -821,7 +821,9 @@ class EclccCompileThread : implements IPooledThread, implements IErrorReporter, } else { - getHomeFolder(repoRootPath); + char dir[_MAX_PATH]; + if (GetCurrentDirectory(sizeof(dir), dir)) + repoRootPath.append(dir); } if (repoRootPath.length()) {