rockspec: call luke install with the Lua binary probed by luarocks.
* luaposix-git-1.rockspec (build.install_command): Prefix with luarocks
expanded $(LUA), otherwise the `#! /usr/bin/env lua` shell magic in
build-aux/luke, which may not match the binary installed by the user.
Reported-by: Leafo
@@ -40,7 +40,7 @@ build = {
.. ' INST_LIBDIR="$(LIBDIR)"'
.. ' INST_LUADIR="$(LUADIR)"'
,
- install_command = 'build-aux/luke install --quiet'
+ install_command = '$(LUA) build-aux/luke install --quiet'
.. ' INST_LIBDIR="$(LIBDIR)"'
.. ' INST_LUADIR="$(LUADIR)"'
,
