lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> 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?