From 7b53df4b8d034b3c9e031e85e6116c9e73d92bb2 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 27 Jun 2025 02:35:52 -0300 Subject: debug --- binary/all_in_one | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'binary') diff --git a/binary/all_in_one b/binary/all_in_one index 8f8d7ea7..4d0772c8 100755 --- a/binary/all_in_one +++ b/binary/all_in_one @@ -491,6 +491,12 @@ local function main() os.execute("cat " .. CONFIG_FILE) print("----------------------------------------------------------------") + do + local command = "LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks --no-project" + print(command) + local ok = os.execute(command) + end + fs.make_dir(LUA_MODULES) for _, name in ipairs(dependency_order) do local use = dependencies[name] @@ -500,7 +506,7 @@ local function main() print("----------------------------------------------------------------") local vers = manif.get_versions(queries.from_dep_string(name), "one") if not next(vers) then - local command = "LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks install --no-project '--tree=" .. LUA_MODULES .. "' " .. use + local command = "LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks install --no-project '--tree=" .. LUA_MODULES .. "' --lua-dir=" .. LUA_DIR .. " " .. use print(command) local ok = os.execute(command) if ok ~= 0 and ok ~= true then -- cgit v1.2.3-55-g6feb