diff options
-rw-r--r-- | src/luarocks/fs/win32/tools.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua index e08de97a..979aaff4 100644 --- a/src/luarocks/fs/win32/tools.lua +++ b/src/luarocks/fs/win32/tools.lua | |||
@@ -42,7 +42,7 @@ end | |||
42 | function current_dir() | 42 | function current_dir() |
43 | local current = cfg.cache_pwd | 43 | local current = cfg.cache_pwd |
44 | if not current then | 44 | if not current then |
45 | local pipe = io.popen(vars.PWD) | 45 | local pipe = io.popen(fs.Q(vars.PWD)) |
46 | current = pipe:read("*l") | 46 | current = pipe:read("*l") |
47 | pipe:close() | 47 | pipe:close() |
48 | cfg.cache_pwd = current | 48 | cfg.cache_pwd = current |