diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/build/builtin.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/luarocks/build/builtin.lua b/src/luarocks/build/builtin.lua index 694542ba..2db6f256 100644 --- a/src/luarocks/build/builtin.lua +++ b/src/luarocks/build/builtin.lua | |||
| @@ -89,7 +89,9 @@ do | |||
| 89 | 89 | ||
| 90 | for _, file in ipairs(fs.find()) do | 90 | for _, file in ipairs(fs.find()) do |
| 91 | local luamod = file:match("(.*)%.lua$") | 91 | local luamod = file:match("(.*)%.lua$") |
| 92 | if luamod and not luamod_blacklist[luamod] then | 92 | if file:match("^.luarocks") or file:match("^lua_modules") then |
| 93 | -- skip | ||
| 94 | elseif luamod and not luamod_blacklist[luamod] then | ||
| 93 | modules[path.path_to_module(file)] = prefix..file | 95 | modules[path.path_to_module(file)] = prefix..file |
| 94 | else | 96 | else |
| 95 | local cmod = file:match("(.*)%.c$") | 97 | local cmod = file:match("(.*)%.c$") |
