On Tue, Jun 16, 2015 at 7:40 PM, Thijs Schreijer
<th...@thijsschreijer.nl> wrote:
>> > Hisham <h@hi...>
>> >  We could add getenv support in the next release (as usual, patches are
>> welcome).
>>
>> That would be great!
>> Unfortunately I don't know the source of luarocks but if i get some
>> hint maybe i can try to do something.
>>
>
> I just submitted a pull request for this. Please check it out.

It works! Thanks a lot.

It seems to works only if i use the LUAROCKS_CONFIG=<> environment
variable. If the config file is read from  --sysconfigdir=<cfgdir>
<cfgdir>/config-5.1.lua something goes wrong, even if the dump_env()
function tell me that the environment variable was read the
configuration data seems not be used by luarocks.

Do you have any idea?

Thanks
-- 
Fabio Porcedda

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to