diff options
author | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-04-16 22:30:08 +0000 |
---|---|---|
committer | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-04-16 22:30:08 +0000 |
commit | 40b346c145cb7ff175e6955652a0a32debea9b6c (patch) | |
tree | 2df0678a4fe5c713d042d928b02d8d4cec4fd83e /src | |
parent | 62cf48659714ece5e0e840771155dd9f8a55c2f5 (diff) | |
download | luarocks-40b346c145cb7ff175e6955652a0a32debea9b6c.tar.gz luarocks-40b346c145cb7ff175e6955652a0a32debea9b6c.tar.bz2 luarocks-40b346c145cb7ff175e6955652a0a32debea9b6c.zip |
minor fixes
git-svn-id: http://luarocks.org/svn/luarocks/trunk@11 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
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 |