aboutsummaryrefslogtreecommitdiff
path: root/binary
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2025-06-27 02:35:52 -0300
committerHisham Muhammad <hisham@gobolinux.org>2025-12-28 15:22:18 -0300
commit7b53df4b8d034b3c9e031e85e6116c9e73d92bb2 (patch)
treed8334ea5d679b09a7e2b72d13b2210cf376297f2 /binary
parent1e0bd058bda001eec42b74d7b9a5b55e65f56bc5 (diff)
downloadluarocks-7b53df4b8d034b3c9e031e85e6116c9e73d92bb2.tar.gz
luarocks-7b53df4b8d034b3c9e031e85e6116c9e73d92bb2.tar.bz2
luarocks-7b53df4b8d034b3c9e031e85e6116c9e73d92bb2.zip
debug
Diffstat (limited to 'binary')
-rwxr-xr-xbinary/all_in_one8
1 files changed, 7 insertions, 1 deletions
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()
491 os.execute("cat " .. CONFIG_FILE) 491 os.execute("cat " .. CONFIG_FILE)
492 print("----------------------------------------------------------------") 492 print("----------------------------------------------------------------")
493 493
494 do
495 local command = "LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks --no-project"
496 print(command)
497 local ok = os.execute(command)
498 end
499
494 fs.make_dir(LUA_MODULES) 500 fs.make_dir(LUA_MODULES)
495 for _, name in ipairs(dependency_order) do 501 for _, name in ipairs(dependency_order) do
496 local use = dependencies[name] 502 local use = dependencies[name]
@@ -500,7 +506,7 @@ local function main()
500 print("----------------------------------------------------------------") 506 print("----------------------------------------------------------------")
501 local vers = manif.get_versions(queries.from_dep_string(name), "one") 507 local vers = manif.get_versions(queries.from_dep_string(name), "one")
502 if not next(vers) then 508 if not next(vers) then
503 local command = "LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks install --no-project '--tree=" .. LUA_MODULES .. "' " .. use 509 local command = "LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks install --no-project '--tree=" .. LUA_MODULES .. "' --lua-dir=" .. LUA_DIR .. " " .. use
504 print(command) 510 print(command)
505 local ok = os.execute(command) 511 local ok = os.execute(command)
506 if ok ~= 0 and ok ~= true then 512 if ok ~= 0 and ok ~= true then