From 9b32a950f8c55e9f56573eedf482b44b59cd78c2 Mon Sep 17 00:00:00 2001 From: Johnny Cena Date: Sun, 24 Aug 2025 09:42:06 +0200 Subject: [PATCH] fix wrong cwd --- tools/rexm/rexm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rexm/rexm.c b/tools/rexm/rexm.c index 876e91394..998fdff26 100644 --- a/tools/rexm/rexm.c +++ b/tools/rexm/rexm.c @@ -1019,7 +1019,7 @@ int main(int argc, char *argv[]) if ((strcmp(exInfo->category, "others") != 0) && // Skipping "others" category ((exInfo->status & VALID_MISSING_WEB_OUTPUT) || (exInfo->status & VALID_MISSING_WEB_METADATA))) { - system(TextFormat("make -f Makefile.Web %s/%s PLATFORM=PLATFORM_WEB -B", exInfo->category, exInfo->name)); + system(TextFormat("make -C %s -f Makefile.Web %s/%s PLATFORM=PLATFORM_WEB -B", exBasePath, exInfo->category, exInfo->name)); //system(TextFormat("%s/build_example_web.bat %s/%s", exBasePath, exInfo->category, exInfo->name)); // Update generated .html metadata