lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

Asko Kauppi wrote:
> I was surprised that 5.1w4 still has:
> 
> 	#define LUA_PATH_DEFAULT  \
> 		"./?.lua;" LUA_LDIR "/?.lua;" LUA_LDIR "/?/init.lua"
> 
> This means, there's no common default for where system-wide library  
> scripts would be installed, is there?

How did you manage to miss the three lines above that define? :-)

#define LUA_ROOT        "/usr/local"
#define LUA_LDIR        LUA_ROOT "/share/lua/5.1"
#define LUA_CDIR        LUA_ROOT "/lib/lua/5.1"

Bye,
     Mike