Imediatly stop on failure
This commit is contained in:
parent
d0f78c4880
commit
6ef62014d1
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
cd $1
|
cd $1
|
||||||
|
|
||||||
if [ "$BLD" = autotools ]; then
|
if [ "$BLD" = autotools ]; then
|
||||||
set -x
|
set -ex
|
||||||
autoreconf -vis
|
autoreconf -vis
|
||||||
mkdir build-autotools
|
mkdir build-autotools
|
||||||
cd build-autotools
|
cd build-autotools
|
||||||
|
@ -10,7 +10,7 @@ if [ "$BLD" = autotools ]; then
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
elif [ "$BLD" = cmake ]; then
|
elif [ "$BLD" = cmake ]; then
|
||||||
set -x
|
set -ex
|
||||||
mkdir build-cmake
|
mkdir build-cmake
|
||||||
cd build-cmake
|
cd build-cmake
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local ..
|
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local ..
|
||||||
|
|
Loading…
Reference in a new issue