escapes install path in mac command

This commit is contained in:
thatben 2025-02-18 16:19:51 +01:00
parent e2f4c9c85e
commit 5b8d023979
No known key found for this signature in database
GPG Key ID: 62C543548433D43E

View File

@ -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 $@;