From 5b8d023979486be758c31e8a880ea6a986f00d9a Mon Sep 17 00:00:00 2001 From: thatben Date: Tue, 18 Feb 2025 16:19:51 +0100 Subject: [PATCH] escapes install path in mac command --- src/handlers/installationHandlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/installationHandlers.js b/src/handlers/installationHandlers.js index 56766c0..011cb1c 100644 --- a/src/handlers/installationHandlers.js +++ b/src/handlers/installationHandlers.js @@ -161,7 +161,7 @@ export async function installCodex(config, showNavigationMenu) { eval { local $SIG{ALRM} = sub { die "timeout\\n" }; alarm(120); - system("INSTALL_DIR="${installPath}" bash install.sh"); + system("INSTALL_DIR=\"${installPath}\" bash install.sh"); alarm(0); }; die if $@;