diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/deps.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua index 6f986575..d7d6e103 100644 --- a/src/luarocks/deps.lua +++ b/src/luarocks/deps.lua | |||
@@ -18,7 +18,6 @@ local search = require("luarocks.search") | |||
18 | local install = require("luarocks.install") | 18 | local install = require("luarocks.install") |
19 | local cfg = require("luarocks.cfg") | 19 | local cfg = require("luarocks.cfg") |
20 | local manif_core = require("luarocks.manif_core") | 20 | local manif_core = require("luarocks.manif_core") |
21 | local fs = require("luarocks.fs") | ||
22 | local fetch = require("luarocks.fetch") | 21 | local fetch = require("luarocks.fetch") |
23 | local path = require("luarocks.path") | 22 | local path = require("luarocks.path") |
24 | local dir = require("luarocks.dir") | 23 | local dir = require("luarocks.dir") |
@@ -496,6 +495,8 @@ end | |||
496 | -- nil and an error message if any test failed. | 495 | -- nil and an error message if any test failed. |
497 | function check_external_deps(rockspec, mode) | 496 | function check_external_deps(rockspec, mode) |
498 | assert(type(rockspec) == "table") | 497 | assert(type(rockspec) == "table") |
498 | |||
499 | local fs = require("luarocks.fs") | ||
499 | 500 | ||
500 | local vars = rockspec.variables | 501 | local vars = rockspec.variables |
501 | local patterns = cfg.external_deps_patterns | 502 | local patterns = cfg.external_deps_patterns |