backport from tip : actually stop on compile failure

This commit is contained in:
Thomas Capricelli 2010-01-06 17:17:40 +01:00
parent ba6ed5fa5f
commit 8a6d5f10dc

View File

@ -11,7 +11,7 @@ USER=${USER:-'orzel'}
# step 1 : build
# todo if 'build is not there, create one:
#mkdir build
(cd build && cmake .. && make -j3 doc) || (echo "make failed"; exit 1)
(cd build && cmake .. && make -j3 doc) || echo "make failed"; exit 1
#todo: n+1 where n = number of cpus
#step 2 : upload