diff options
-rw-r--r-- | src/luarocks/cmd.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua index 7037c734..be749c16 100644 --- a/src/luarocks/cmd.lua +++ b/src/luarocks/cmd.lua | |||
@@ -231,8 +231,8 @@ do | |||
231 | if project_dir then | 231 | if project_dir then |
232 | table.insert(dirs, dir.path(project_dir, ".luarocks")) | 232 | table.insert(dirs, dir.path(project_dir, ".luarocks")) |
233 | end | 233 | end |
234 | if cfg.home_tree then | 234 | if cfg.homeconfdir then |
235 | table.insert(dirs, dir.path(cfg.home_tree, ".luarocks")) | 235 | table.insert(dirs, cfg.homeconfdir) |
236 | end | 236 | end |
237 | table.insert(dirs, cfg.sysconfdir) | 237 | table.insert(dirs, cfg.sysconfdir) |
238 | for _, d in ipairs(dirs) do | 238 | for _, d in ipairs(dirs) do |