aboutsummaryrefslogtreecommitdiff
path: root/binary
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2022-05-03 11:58:17 -0400
committerHisham Muhammad <hisham@gobolinux.org>2022-05-03 11:58:17 -0400
commitc07e6812fff52424baa1ebf6117bb3fb11636083 (patch)
tree4dd7a40c9c900c2a14f7f1f1284b7c3de361c3e7 /binary
parent85f1549b5b7266f7321756ec12051130d1b1b44a (diff)
downloadluarocks-c07e6812fff52424baa1ebf6117bb3fb11636083.tar.gz
luarocks-c07e6812fff52424baa1ebf6117bb3fb11636083.tar.bz2
luarocks-c07e6812fff52424baa1ebf6117bb3fb11636083.zip
Add --no-project flag to override .luarocks project dir
Diffstat (limited to 'binary')
-rwxr-xr-xbinary/all_in_one2
1 files changed, 1 insertions, 1 deletions
diff --git a/binary/all_in_one b/binary/all_in_one
index 63c6ef98..ca5ee49d 100755
--- a/binary/all_in_one
+++ b/binary/all_in_one
@@ -481,7 +481,7 @@ local function main()
481 print("----------------------------------------------------------------") 481 print("----------------------------------------------------------------")
482 local vers = manif.get_versions(queries.from_dep_string(name), "one") 482 local vers = manif.get_versions(queries.from_dep_string(name), "one")
483 if not next(vers) then 483 if not next(vers) then
484 local ok = os.execute("LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks install '--tree=" .. LUA_MODULES .. "' " .. arg) 484 local ok = os.execute("LUAROCKS_CONFIG='" .. CONFIG_FILE .. "' ./luarocks install --no-project '--tree=" .. LUA_MODULES .. "' " .. arg)
485 if ok ~= 0 and ok ~= true then 485 if ok ~= 0 and ok ~= true then
486 error("Failed building dependency: " .. name) 486 error("Failed building dependency: " .. name)
487 end 487 end