diff --git a/ecl/eclccserver/eclccserver.cpp b/ecl/eclccserver/eclccserver.cpp index a5a308ceeb1..39b8018a34f 100644 --- a/ecl/eclccserver/eclccserver.cpp +++ b/ecl/eclccserver/eclccserver.cpp @@ -825,7 +825,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()) {