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:
parent
faa3d6a2a5
commit
ac7a17754f
@ -45,4 +45,4 @@ def rockspec(self):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
luarocks('--tree=' + prefix, 'install', self.rockspec)
|
luarocks('--tree=' + prefix, 'make', self.rockspec)
|
||||||
|
@ -18,4 +18,4 @@ class LuaLuaposix(Package):
|
|||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
rockspec = glob.glob('luaposix-*.rockspec')
|
rockspec = glob.glob('luaposix-*.rockspec')
|
||||||
luarocks('--tree=' + prefix, 'install', rockspec[0])
|
luarocks('--tree=' + prefix, 'make', rockspec[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user