Exit(1) if android-build.sh build fails

This commit is contained in:
pancake 2014-01-05 00:52:54 +01:00
parent 86507d9637
commit 534ce69d34
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@ rm -rf ${PWD}/${D}/${PREFIX}/bin/*
# use busybox style symlinkz
HERE=${PWD}
cd binr/blob
make STATIC_BUILD=1
make install PREFIX="${PREFIX}" DESTDIR="${HERE}/${D}"
make STATIC_BUILD=1 || exit 1
make install PREFIX="${PREFIX}" DESTDIR="${HERE}/${D}" || exit 1
cd ../..
chmod +x ${PWD}/${D}/${PREFIX}/bin/*