commit f85beea79ef5fafceb7ea29b1db2c0336ee02643
parent 7efc973f5a23013a56e60c210ee9cfa2c23e4705
Author: phoebos <ben@bvnf.space>
Date: Tue, 14 Jan 2025 15:26:26 +0000
keep Lua (c)path for as_user
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/main.lua b/main.lua
@@ -63,6 +63,8 @@ local function args(env, arg)
"KISS_TMPDIR="..env.TMPDIR,
"KISS_PID="..env.PID,
"_KISS_LVL="..env._LVL,
+ "LUA_PATH="..package.path,
+ "LUA_CPATH="..package.cpath,
}
table.move(arg, 0, #arg, #newarg+1, newarg)