[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Using Lua to replace C
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 25 Feb 2011 11:15:21 -0300
> its inability to force default settings for LUA_INIT, LUA_PATH and
> LUA_CPATH on the command line. I can work around this with an extra
> level of script, but it means that I can't easily start Zile from a
> hash-bang script.
Really? If you wrap lua with
exec env LUA_INIT= LUA_PATH= LUA_CPATH= lua $*
then even hash-bang scripts will work if your wrapper appears first in your
shell path.
Or am I missing something?