It's intentional. In the case of Lua scripts (ie, those identified with something liek #!/usr/bin/lua at the top), instead of copying the script, we generate a launcher script that sets up the environment and calls the actual script.
-- Hisham On 27 February 2014 18:14, Peter Colberg <pe...@colberg.org> wrote: > Hi, > > When a rock installs to $(LIBDIR) or $(LUADIR), the files are moved > from the rock prefix to the common prefix. When a rock installs to > $(BINDIR), the files are copied to the common prefix. > > # find ~/.luarocks/ -path '*/bin/*' -type f > /home/peter/.luarocks/bin/gcclua-config > /home/peter/.luarocks/lib/luarocks/rocks/gcc-lua/1.2.1-1/bin/gcclua-config > > # find ~/.luarocks/ -path '*/share/*' -type f > /home/peter/.luarocks/share/lua/5.1/gcc/cdecl.lua > > Is this difference intentional, or is it a bug in luarocks? > > Regards, > Peter > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > Luarocks-developers mailing list > Luarocks-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/luarocks-developers ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers