diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/cfg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 31b3211a..70c1bd04 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -374,7 +374,7 @@ local defaults = { | |||
374 | } | 374 | } |
375 | 375 | ||
376 | if cfg.platforms.windows then | 376 | if cfg.platforms.windows then |
377 | local full_prefix = (site_config.LUAROCKS_PREFIX or (os.getenv("PROGRAMFILES")..[[\LuaRocks]])).."\\"..cfg.major_version | 377 | local full_prefix = (site_config.LUAROCKS_PREFIX or (os.getenv("PROGRAMFILES")..[[\LuaRocks]])) |
378 | extra_luarocks_module_dir = full_prefix.."\\lua\\?.lua" | 378 | extra_luarocks_module_dir = full_prefix.."\\lua\\?.lua" |
379 | 379 | ||
380 | home_config_file = home_config_file and home_config_file:gsub("\\","/") | 380 | home_config_file = home_config_file and home_config_file:gsub("\\","/") |