[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Finding and loading Lua files
- From: Mike Pall <mikelu-0504@...>
- Date: Fri, 22 Apr 2005 14:54:25 +0200
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"