|
Am 28.10.2013 22:08 schröbte Rena:
$ lua -E Lua 5.2.2 Copyright (C) 1994-2013 Lua.org, PUC-Rio=package.path:gsub(';', '\n')/usr/local/share/lua/5.2/?.lua /usr/local/share/lua/5.2/?/init.lua /usr/local/lib/lua/5.2/?.lua /usr/local/lib/lua/5.2/?/init.lua ./?.lua /usr/share/lua/5.2/?.lua /usr/share/lua/5.2/?/init.lua ./?.lua 7 Why is ./?.lua present twice? The same redundancy isn't present in package.cpath.
Debian or Ubuntu, right? This happens in the Debian-specific patch: - LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" "./?.lua" + LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" "./?.lua;" \ + LUA_LDIR2"?.lua;" LUA_LDIR2"?/init.lua;" "./?.lua"Maybe Enrico Tassi can shed some light (my guess is that it happened by mistake) ...
Philipp