Commit 34801af9 authored by Frédéric Leroy's avatar Frédéric Leroy

build_oai: exit early on error

There are a lot of case where the build scripts fails. Despite this, the
build script happily continue to the end and tells "Successfully built
xxxx".
This fix ensure the build stops early with the first error message on the
bottom of the log.
parent ba997a2b
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
# brief OAI automated build tool that can be used to install, compile, run OAI. # brief OAI automated build tool that can be used to install, compile, run OAI.
# author Navid Nikaein, Lionel GAUTHIER, Laurent Thomas # author Navid Nikaein, Lionel GAUTHIER, Laurent Thomas
set -e
################################ ################################
# include helper functions # include helper functions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment