On Thu, Dec 23, 2010 at 5:21 PM, Hisham <[email protected]> wrote:

> Hello,
>
> I'm happy to announce LuaRocks 2.0.4.
>
> http://luarocks.org/releases/luarocks-2.0.4.tar.gz
> http://luarocks.org/releases/luarocks-2.0.4-win32.zip



I have downloaded the tar file, and it is failing to find dependencies when
luafilesystem is installed.

The file fs/lua.lua has this at line 398:

--- Test for existance of a file.
-- @param file string: filename to test
-- @return boolean: true if file exists, false otherwise.
function exists(file)
   assert(file)
   file = normalize(file)
   return type(file) == "table"
end

That code is wrong and it has been already corrected on github repo.

--- Test for existance of a file.
-- @param file string: filename to test
-- @return boolean: true if file exists, false otherwise.
function exists(file)
   assert(file)
   return type(lfs.attributes(file)) == "table"
end
*
*
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to