aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2013-11-04 11:23:03 -0200
committerHisham Muhammad <hisham@gobolinux.org>2013-11-04 11:23:03 -0200
commitffb82c3134595b615a9fbc0c70a6281117586492 (patch)
tree749064959f3c0a02814a04820d27d4db8157ec38
parentdf33f22224aa9a1fb4f48bfd6f96e39c06defc58 (diff)
downloadluarocks-ffb82c3134595b615a9fbc0c70a6281117586492.tar.gz
luarocks-ffb82c3134595b615a9fbc0c70a6281117586492.tar.bz2
luarocks-ffb82c3134595b615a9fbc0c70a6281117586492.zip
Merge branch 'master' of github.com:keplerproject/luarocks
Diffstat (limited to '')
-rw-r--r--src/luarocks/loader.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/loader.lua b/src/luarocks/loader.lua
index a116766c..aa3b2781 100644
--- a/src/luarocks/loader.lua
+++ b/src/luarocks/loader.lua
@@ -108,7 +108,7 @@ end
108-- @return table or (nil, string): The module table as returned by some other loader, 108-- @return table or (nil, string): The module table as returned by some other loader,
109-- or nil followed by an error message if no other loader managed to load the module. 109-- or nil followed by an error message if no other loader managed to load the module.
110local function call_other_loaders(module, name, version, module_name) 110local function call_other_loaders(module, name, version, module_name)
111 for i, loader in pairs(package.loaders) do 111 for i, loader in ipairs(package.loaders) do
112 if loader ~= luarocks_loader then 112 if loader ~= luarocks_loader then
113 local results = { loader(module_name) } 113 local results = { loader(module_name) }
114 if type(results[1]) == "function" then 114 if type(results[1]) == "function" then