aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSewbacca <sewbacca@kolabnow.com>2024-02-27 21:39:19 +0100
committerHisham Muhammad <hisham@gobolinux.org>2024-02-29 12:57:01 -0300
commit1ab69a0c6de296aad667b9ad7eacae4c2cda4387 (patch)
tree798fccff6fc9869259b9efa94f39bc643504c8fa
parented9c7f10d7afca100f48f22c40906cddfce9c4ef (diff)
downloadluarocks-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.lua2
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()
349end 349end
350 350
351function win32.export_cmd(var, val) 351function win32.export_cmd(var, val)
352 return ("SET %s=%s"):format(var, val) 352 return ("SET %s"):format(fs.Q(var.."="..val))
353end 353end
354 354
355function win32.system_cache_dir() 355function win32.system_cache_dir()