diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2025-06-27 02:33:16 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2025-12-28 15:22:18 -0300 |
| commit | bb05fa9dc6709db6d3da72b1755615b3c4a18eff (patch) | |
| tree | c7bdb27962a36fdacdec5701f5cbacec66e06b1f /binary | |
| parent | b39d5df5814aff1e45c64684a2b6e910fe4b8208 (diff) | |
| download | luarocks-bb05fa9dc6709db6d3da72b1755615b3c4a18eff.tar.gz luarocks-bb05fa9dc6709db6d3da72b1755615b3c4a18eff.tar.bz2 luarocks-bb05fa9dc6709db6d3da72b1755615b3c4a18eff.zip | |
debug
Diffstat (limited to 'binary')
| -rwxr-xr-x | binary/all_in_one | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binary/all_in_one b/binary/all_in_one index 545acad7..235e6155 100755 --- a/binary/all_in_one +++ b/binary/all_in_one | |||
| @@ -495,7 +495,9 @@ local function main() | |||
| 495 | print("----------------------------------------------------------------") | 495 | print("----------------------------------------------------------------") |
| 496 | local vers = manif.get_versions(queries.from_dep_string(name), "one") | 496 | local vers = manif.get_versions(queries.from_dep_string(name), "one") |
| 497 | if not next(vers) then | 497 | if not next(vers) then |
| 498 | local ok = os.execute("LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks install --no-project '--tree=" .. LUA_MODULES .. "' " .. use) | 498 | local command = "LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks install --no-project '--tree=" .. LUA_MODULES .. "' " .. use |
| 499 | print(command) | ||
| 500 | local ok = os.execute(command) | ||
| 499 | if ok ~= 0 and ok ~= true then | 501 | if ok ~= 0 and ok ~= true then |
| 500 | error("Failed building dependency: " .. name) | 502 | error("Failed building dependency: " .. name) |
| 501 | end | 503 | end |
