diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2022-02-16 18:24:06 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2022-02-17 02:16:50 -0300 |
commit | 0b15b5f450b5e1e569255b41457b187154e39e5b (patch) | |
tree | 7e5599164045d423535f2f4697e4b9244b55031c /src | |
parent | c3d13d216ae6be883491b929c1961b84e739a621 (diff) | |
download | luarocks-0b15b5f450b5e1e569255b41457b187154e39e5b.tar.gz luarocks-0b15b5f450b5e1e569255b41457b187154e39e5b.tar.bz2 luarocks-0b15b5f450b5e1e569255b41457b187154e39e5b.zip |
win32: use Windows's own MKDIR and RMDIR
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/core/cfg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua index 9059098a..58ed1ac6 100644 --- a/src/luarocks/core/cfg.lua +++ b/src/luarocks/core/cfg.lua | |||
@@ -762,7 +762,7 @@ function cfg.init(detected, warning) | |||
762 | local defaults = make_defaults(cfg.lua_version, processor, platforms, cfg.home) | 762 | local defaults = make_defaults(cfg.lua_version, processor, platforms, cfg.home) |
763 | 763 | ||
764 | if platforms.windows and hardcoded.WIN_TOOLS then | 764 | if platforms.windows and hardcoded.WIN_TOOLS then |
765 | local tools = { "SEVENZ", "CP", "FIND", "LS", "MD5SUM", "PWD", "RMDIR", "WGET", "MKDIR" } | 765 | local tools = { "SEVENZ", "CP", "FIND", "LS", "MD5SUM", "PWD", "WGET", } |
766 | for _, tool in ipairs(tools) do | 766 | for _, tool in ipairs(tools) do |
767 | defaults.variables[tool] = '"' .. hardcoded.WIN_TOOLS .. "/" .. defaults.variables[tool] .. '.exe"' | 767 | defaults.variables[tool] = '"' .. hardcoded.WIN_TOOLS .. "/" .. defaults.variables[tool] .. '.exe"' |
768 | end | 768 | end |