luarocks: Use make command instead of install (#12703)

This way luarocks does not attempt to pull stuff from the internet.

Fix #3909
This commit is contained in:
Ruben Di Battista 2019-09-08 04:06:52 +02:00 committed by Adam J. Stewart
parent faa3d6a2a5
commit ac7a17754f
2 changed files with 2 additions and 2 deletions

View File

@ -45,4 +45,4 @@ def rockspec(self):
)
def install(self, spec, prefix):
luarocks('--tree=' + prefix, 'install', self.rockspec)
luarocks('--tree=' + prefix, 'make', self.rockspec)

View File

@ -18,4 +18,4 @@ class LuaLuaposix(Package):
def install(self, spec, prefix):
rockspec = glob.glob('luaposix-*.rockspec')
luarocks('--tree=' + prefix, 'install', rockspec[0])
luarocks('--tree=' + prefix, 'make', rockspec[0])