aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/cfg.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua
index 54b52a66..62c69597 100644
--- a/src/luarocks/cfg.lua
+++ b/src/luarocks/cfg.lua
@@ -31,7 +31,7 @@ end
31_M.site_config = site_config 31_M.site_config = site_config
32 32
33program_version = "2.1.0" 33program_version = "2.1.0"
34major_version = program_version:match("([^.]%.[^.])" 34major_version = program_version:match("([^.]%.[^.])")
35 35
36local persist = require("luarocks.persist") 36local persist = require("luarocks.persist")
37 37
@@ -296,7 +296,7 @@ if detected.windows then
296 "MKDIR", "MV", "PWD", "RMDIR", "RM", "TEST", "UNAME", "WGET" } 296 "MKDIR", "MV", "PWD", "RMDIR", "RM", "TEST", "UNAME", "WGET" }
297 for _, var in ipairs(bins) do 297 for _, var in ipairs(bins) do
298 if defaults.variables[var] then 298 if defaults.variables[var] then
299 defaults.variables[var] = full_prefix.."\\"..defaults.variables[var] 299 defaults.variables[var] = full_prefix.."\\bin\\"..defaults.variables[var]
300 end 300 end
301 end 301 end
302 302