aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-08-02 13:48:01 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-08-02 13:50:01 -0300
commit1ab3297faae3e57772c840d74828a9d370a6cd84 (patch)
treedfa3e5cad3e4ac1f20c77db59f951bc0b55e2e2b /win32
parentdcaf10c26714cbc518cbf329d0fb7b71d4241494 (diff)
downloadluarocks-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