Move LUA_ROOT to /boot/lua

While this is mostly unused today, this is a better place than
/usr/local/lua.
This commit is contained in:
Warner Losh 2018-10-28 02:57:50 +00:00
parent 2c9d329756
commit 16633f3a2d

View File

@ -202,9 +202,9 @@
#else /* }{ */
#define LUA_ROOT "/usr/local/"
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
#define LUA_ROOT "/boot/lua/" LUA_VDIR "/"
#define LUA_LDIR LUA_ROOT "share/"
#define LUA_CDIR LUA_ROOT "lib/"
#ifndef LUA_PATH_DEFAULT
#define LUA_PATH_DEFAULT \
LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \