Skip to content

Commit

Permalink
Return exit code from linux build script
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalinfinity committed Jun 30, 2016
1 parent dc7e814 commit 2cb2b4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,10 @@ echo Generating $BUILD_TYPE makefiles
cmake $CMAKE_GEN $CC_PREFIX $ICU_PATH -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..

$MAKE $MULTICORE_BUILD 2>&1 | tee build.log
_RET=${PIPESTATUS[0]}
if [[ $_RET != 0 ]]; then
echo Error: $MAKE return $_RET
fi

popd > /dev/null
exit $_RET

0 comments on commit 2cb2b4f

Please sign in to comment.