diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-08-02 13:48:01 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-08-02 13:50:01 -0300 |
commit | 1ab3297faae3e57772c840d74828a9d370a6cd84 (patch) | |
tree | dfa3e5cad3e4ac1f20c77db59f951bc0b55e2e2b /win32 | |
parent | dcaf10c26714cbc518cbf329d0fb7b71d4241494 (diff) | |
download | luarocks-1ab3297faae3e57772c840d74828a9d370a6cd84.tar.gz luarocks-1ab3297faae3e57772c840d74828a9d370a6cd84.tar.bz2 luarocks-1ab3297faae3e57772c840d74828a9d370a6cd84.zip |
Fix: do not detect .luarocks/config-5.x.lua and lua_modules as modules
Running luarocks init a second time after deleting the rockspec was
mis-detects .luarocks/config-5.x.lua as a module, creating an entry
`["luarocks.config-5.3"] = ".luarocks/config-5.3.lua"` in `build.modules`.
Same problem happened with modules under `lua_modules`.
This excludes `.luarocks` and `lua_modules` from module detection.
Includes a regression test.
Closes #847.
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions