On Mon, Jul 2, 2012 at 6:11 AM, Ildar Mulyukov
<[email protected]> wrote:
> Hi!
> 1st I mostly answer to myself, next ask a question.
>
> On 02.07.2012 11:37:03, Ildar Mulyukov wrote:
>> On 11.04.2011 23:30:42, Hisham wrote:
>>> Indeed, the hierarchy lib/lua/5.1 is hardcoded in luarocks/path.lua
>>> for now... we need to fix this. I added this to the bugtracker.
>>
>> Now, Hisham, I can't find the bug you mentioned. Could you please
>> point me out?
>
> Found it: https://github.com/keplerproject/luarocks/issues/27
>
>> Next, inspecting the changes in this area, I see the code's moved and
>> now it is in cfg.lua:
>>   142     lib_modules_path = "/lib/lua/"..lua_version,
>
> Well, main part is in site_config.lua .
>
> ===
> Q: Why the site_config.lua is put into /usr/share? This supposed to be
> ARCH-independent dir. It can be safely moved to:
> lib_modules_path.."/luarocks". Like mine:
>> mkdir -p %buildroot%lua_modulesdir/%name
>> #Arch-dependant parts
>> mv %buildroot%lua_modulesdir_noarch/%name/\
>> site_config.lua \
>> %buildroot%lua_modulesdir/%name

True. I'm just about to make a new release so this won't make it, but
could you register an issue on this so it doesn't get buried in the
mailing list?

Thank you!

-- Hisham

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to