On Tue, Dec 14, 2010 at 3:50 PM, Alexander Gladysh <[email protected]> wrote: > On Tue, Dec 14, 2010 at 17:15, Hisham <[email protected]> wrote: >> On Mon, Dec 13, 2010 at 2:24 PM, Alexander Gladysh <[email protected]> >> wrote: >>> On Mon, Dec 13, 2010 at 19:18, steve donovan <[email protected]> >>> wrote: >>>> On Mon, Dec 13, 2010 at 6:12 PM, Alexander Gladysh <[email protected]> >>>> wrote: >>>>> I could understand this if I used build.type = "builtin" (and even >>>>> then I'd like this to be off by default). > >>>>> But build.type = "none" must not change any files by definition! > >>> In my opinion, this is a fatal bug in LuaRocks, and it should be fixed >>> immediately. > >> This behavior has been here for a long time. Is it breaking something? > > Please see the original example. > > It is breaking #! feature. And it is doing it silently. > > I have executable Lua script that is intended to be run with another > interpreter (not necessary LuaJIT btw). I can not install this script > with LuaRocks. I have to use a shell-script wrapper. This is not very > sane, in my opinion.
See the attached patch. It adds a config option called "no_wrappers" which you can set to true in your config.lua. -- Hisham
no-wrappers.diff
Description: Binary data
_______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
