diff options
author | Gustavo Ramires <gustavo.nramires@gmail.com> | 2021-04-02 13:27:31 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2021-04-03 16:42:25 -0300 |
commit | 8bc71893611b12b62dd6dd5f0e992451336b072c (patch) | |
tree | e33ea33197e6b0a4166553f886c2ccb8f05711c7 /src | |
parent | b4f8ddfe349ac2eae75ea501a5898522aa69dc91 (diff) | |
download | luarocks-8bc71893611b12b62dd6dd5f0e992451336b072c.tar.gz luarocks-8bc71893611b12b62dd6dd5f0e992451336b072c.tar.bz2 luarocks-8bc71893611b12b62dd6dd5f0e992451336b072c.zip |
configure: check home dir for default-lua-version
https://github.com/luarocks/luarocks/issues/1293
Co-authored-by: Hisham Muhammad <hisham@gobolinux.org>
Diffstat (limited to 'src')
-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 |