aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-03-03 17:50:33 -0300
committerHisham Muhammad <hisham@gobolinux.org>2014-03-03 17:50:33 -0300
commit2181a1b29cf8e2dd54988c7fe37ba7a07f6ef92d (patch)
treebae842c2e07a47745376064ca21d2bd323df98ea
parent63793e243fdd4db321ad2bee8849bb4f57d340c8 (diff)
downloadluarocks-2181a1b29cf8e2dd54988c7fe37ba7a07f6ef92d.tar.gz
luarocks-2181a1b29cf8e2dd54988c7fe37ba7a07f6ef92d.tar.bz2
luarocks-2181a1b29cf8e2dd54988c7fe37ba7a07f6ef92d.zip
Revert change that broke rocks.moonscript.org — it would skip servers that have no .zip manifest in them.
-rw-r--r--src/luarocks/manif.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/manif.lua b/src/luarocks/manif.lua
index 951d6e56..99702b46 100644
--- a/src/luarocks/manif.lua
+++ b/src/luarocks/manif.lua
@@ -131,7 +131,7 @@ function load_manifest(repo_url)
131 local err, errcode 131 local err, errcode
132 for _, filename in ipairs(filenames) do 132 for _, filename in ipairs(filenames) do
133 pathname, err, errcode = fetch_manifest_from(repo_url, filename) 133 pathname, err, errcode = fetch_manifest_from(repo_url, filename)
134 if pathname or errcode == "network" then 134 if pathname then
135 break 135 break
136 end 136 end
137 end 137 end