Greetings!

I'm wondering about the configuration / behaviour of wrap_script().

In win32.lua, wrap_script() composes the script invocation line using the
config parameters LUA_BINDIR and LUA_INTERPRETER.

In the install.bat script, LUA_INTERPRETER is set such that it has a full
path.

Consequently, if LUA_BINDIR=C:\foo\bar, then
LUA_INTERPRETER=C:\foo\bar\lua5.1.exe, then wrap_script() ends up with
C:\foo\bar\C:\foo\bar\lua5.1.exe.

Manually re-jiggering site_config.lua would sort this out, but in the case
where I'd like to do an automated install (by having an installer call the
luarocks installer), it creates a more complicated situation.

Any suggestions / workarounds?


Cheers,

DMK
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to