diff options
Diffstat (limited to '')
-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 2f2c7a66..90bed195 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -264,7 +264,7 @@ local defaults = { | |||
264 | } | 264 | } |
265 | 265 | ||
266 | if detected.windows then | 266 | if detected.windows then |
267 | home_config_file = home_config_file:gsub("\\","/") | 267 | home_config_file = home_config_file and home_config_file:gsub("\\","/") |
268 | defaults.fs_use_modules = false | 268 | defaults.fs_use_modules = false |
269 | defaults.arch = "win32-"..proc | 269 | defaults.arch = "win32-"..proc |
270 | defaults.platforms = {"win32", "windows" } | 270 | defaults.platforms = {"win32", "windows" } |