Imediatly stop on failure

This commit is contained in:
Romain Tartière 2017-06-26 11:25:37 +02:00
parent d0f78c4880
commit 6ef62014d1

View file

@ -2,7 +2,7 @@
cd $1
if [ "$BLD" = autotools ]; then
set -x
set -ex
autoreconf -vis
mkdir build-autotools
cd build-autotools
@ -10,7 +10,7 @@ if [ "$BLD" = autotools ]; then
make
make install
elif [ "$BLD" = cmake ]; then
set -x
set -ex
mkdir build-cmake
cd build-cmake
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local ..