On Thu, 19 Apr 2012 09:54:29 -0300
Ignacio Burgueño <[email protected]> wrote:

> But it seems that in this case, LR does not set a non zero exit code,
> so the script running the build does not know that an error occurred.
> 
> Is this behaviour ok or am I missing something?

Here, it behaves like i'd expect it to:


root@spock:~# /local/bin/luarocks install lrexlib-pcre
Installing 
http://luarocks.org/repositories/rocks/lrexlib-pcre-2.4.0-1.src.rock...
Using http://luarocks.org/repositories/rocks/lrexlib-pcre-2.4.0-1.src.rock... 
switching to 'build' mode

Error: Could not find expected file pcre.h for PCRE -- you may have to install 
PCRE in your system and/or pass PCRE_DIR or PCRE_INCDIR to the luarocks 
command. Example: luarocks install lrexlib-pcre PCRE_DIR=/usr/local
root@spock:~# echo $?
1


Try the latest LR from
https://github.com/keplerproject/luarocks/downloads

or (if that one doesn't work 4u) this:
https://github.com/Themroc/luarocks/downloads

Cheers!

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to