diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-03-01 22:46:50 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-03-01 22:46:50 -0300 |
commit | 2bcc5e5049261b443e7f85ff7ae4ea290c964cfa (patch) | |
tree | 2f52dc524f02847fe1bb5e50d5fe5652c15f9ad2 | |
parent | ef20bb14aced31cb11abad8d283426ba9578f25c (diff) | |
parent | 7e2fd865f867a0846ca70a34a1b218c329a08ad3 (diff) | |
download | luarocks-2bcc5e5049261b443e7f85ff7ae4ea290c964cfa.tar.gz luarocks-2bcc5e5049261b443e7f85ff7ae4ea290c964cfa.tar.bz2 luarocks-2bcc5e5049261b443e7f85ff7ae4ea290c964cfa.zip |
Merge pull request #236 from fperrad/patch-1
filter message when deps_mode="none"
-rw-r--r-- | src/luarocks/manif.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/luarocks/manif.lua b/src/luarocks/manif.lua index b9a65b09..951d6e56 100644 --- a/src/luarocks/manif.lua +++ b/src/luarocks/manif.lua | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | --- Module for handling manifest files and tables. | 1 | --- Module for handling manifest files and tables. |
3 | -- Manifest files describe the contents of a LuaRocks tree or server. | 2 | -- Manifest files describe the contents of a LuaRocks tree or server. |
4 | -- They are loaded into manifest tables, which are then used for | 3 | -- They are loaded into manifest tables, which are then used for |
@@ -253,7 +252,7 @@ local function update_dependencies(manifest, deps_mode) | |||
253 | for miss, err in pairs(missing) do | 252 | for miss, err in pairs(missing) do |
254 | if miss == current then | 253 | if miss == current then |
255 | util.printerr("Tree inconsistency detected: "..current.." has no rockspec. "..err) | 254 | util.printerr("Tree inconsistency detected: "..current.." has no rockspec. "..err) |
256 | else | 255 | elseif deps_mode ~= "none" then |
257 | util.printerr("Missing dependency for "..pkg.." "..version..": "..miss) | 256 | util.printerr("Missing dependency for "..pkg.." "..version..": "..miss) |
258 | end | 257 | end |
259 | end | 258 | end |