diff options
author | Sewbacca <sewbacca@kolabnow.com> | 2024-02-27 21:39:19 +0100 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-29 12:57:01 -0300 |
commit | 1ab69a0c6de296aad667b9ad7eacae4c2cda4387 (patch) | |
tree | 798fccff6fc9869259b9efa94f39bc643504c8fa | |
parent | ed9c7f10d7afca100f48f22c40906cddfce9c4ef (diff) | |
download | luarocks-test-windows-spaces.tar.gz luarocks-test-windows-spaces.tar.bz2 luarocks-test-windows-spaces.zip |
fix: on windows environment variables are passed with trailing spacetest-windows-spaces
-rw-r--r-- | src/luarocks/fs/win32.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/win32.lua b/src/luarocks/fs/win32.lua index 09ce7290..bba68736 100644 --- a/src/luarocks/fs/win32.lua +++ b/src/luarocks/fs/win32.lua | |||
@@ -349,7 +349,7 @@ function win32.is_superuser() | |||
349 | end | 349 | end |
350 | 350 | ||
351 | function win32.export_cmd(var, val) | 351 | function win32.export_cmd(var, val) |
352 | return ("SET %s=%s"):format(var, val) | 352 | return ("SET %s"):format(fs.Q(var.."="..val)) |
353 | end | 353 | end |
354 | 354 | ||
355 | function win32.system_cache_dir() | 355 | function win32.system_cache_dir() |