On Mon, Jul 2, 2012 at 1:34 PM, Yuri Takhteyev <y...@sims.berkeley.edu> wrote:
> What is the intended meaning of the "LUA" variable that LR sets for
> rockspecs? Is it meant to be just the name of lua interpreter (e.g.,
> "lua") or a full path to it (e.g., "/tmp/test/bin/lua")?
>
> It appears to be set to just the name of the interpreter, but I wanted
> to check that this was the intended and "official" behavior or whether
> I should be setting the value to the full path to the interpreter
> manually after the installation.

This variable is set by default to be name of the interpreter, but it
is meant to be a $(LUA) variable accessible to rockspecs in the same
way that $(CC) is. Setting LUA with a full path in a configuration
file shouldn't break things. LuaRocks uses LUA_INTERPRETER internally
-- set in site_config.lua -- when it wants only the interpreter name
(for example, see luarocks/fs/unix.lua).

-- Hisham

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to