diff options
Diffstat (limited to 'src/luarocks/deps.lua')
| -rw-r--r-- | src/luarocks/deps.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua index 0adb5834..c7d68d68 100644 --- a/src/luarocks/deps.lua +++ b/src/luarocks/deps.lua | |||
| @@ -614,7 +614,7 @@ function check_external_deps(rockspec, mode) | |||
| 614 | for _, d in ipairs(paths) do | 614 | for _, d in ipairs(paths) do |
| 615 | if f:match("%*") then | 615 | if f:match("%*") then |
| 616 | local replaced = f:gsub("%.", "%%."):gsub("%*", ".*") | 616 | local replaced = f:gsub("%.", "%%."):gsub("%*", ".*") |
| 617 | for _, entry in ipairs(fs.list_dir(d)) do | 617 | for entry in fs.dir(d) do |
| 618 | if entry:match(replaced) then | 618 | if entry:match(replaced) then |
| 619 | found = true | 619 | found = true |
| 620 | break | 620 | break |
