diff options
-rw-r--r-- | src/luarocks/build.lua | 1 | ||||
-rw-r--r-- | src/luarocks/cmd/install.lua | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua index fe8a815e..9aa70345 100644 --- a/src/luarocks/build.lua +++ b/src/luarocks/build.lua | |||
@@ -123,7 +123,6 @@ local function process_dependencies(rockspec, opts) | |||
123 | end | 123 | end |
124 | 124 | ||
125 | if opts.deps_mode == "none" then | 125 | if opts.deps_mode == "none" then |
126 | util.warning("skipping dependency checks.") | ||
127 | return true | 126 | return true |
128 | end | 127 | end |
129 | if not opts.build_only_deps then | 128 | if not opts.build_only_deps then |
diff --git a/src/luarocks/cmd/install.lua b/src/luarocks/cmd/install.lua index 0fcec4ad..cd1df294 100644 --- a/src/luarocks/cmd/install.lua +++ b/src/luarocks/cmd/install.lua | |||
@@ -97,9 +97,7 @@ function install.install_binary_rock(rock_file, opts) | |||
97 | return nil, "Failed loading rockspec for installed package: "..err, errcode | 97 | return nil, "Failed loading rockspec for installed package: "..err, errcode |
98 | end | 98 | end |
99 | 99 | ||
100 | if opts.deps_mode == "none" then | 100 | if opts.deps_mode ~= "none" then |
101 | util.warning("skipping dependency checks.") | ||
102 | else | ||
103 | ok, err, errcode = deps.check_external_deps(rockspec, "install") | 101 | ok, err, errcode = deps.check_external_deps(rockspec, "install") |
104 | if err then return nil, err, errcode end | 102 | if err then return nil, err, errcode end |
105 | end | 103 | end |