diff options
Diffstat (limited to 'binary')
| -rwxr-xr-x | binary/all_in_one | 8 |
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 |
