On Fri, Aug 5, 2011 at 7:31 AM, steve donovan <[email protected]> wrote: > On Fri, Aug 5, 2011 at 8:17 AM, Alexander Gladysh <[email protected]> wrote: >> Thanks, but any solution that requires patching Lua is out of the >> question for me. > > I wonder how far we could get by running Lua with a shell script which > uses LUA_(C)PATH to completely localize the module paths?
That's all I'm doing by directly editing luaconf.h, forcing that to always be the case so I can truly say that out of the box the lua executable only looks at the sandbox path to get modules. I'm not sure why that's objectionable.. > One of the interesting differences between Lua on Windows and on POSIX > is that the Windows version behaves pretty much like Jim's patched > version, since executables can reliably detect their own full path. - Jim ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
