diff options
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 |
