We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13405e4 commit 61f6818Copy full SHA for 61f6818
build.sh
@@ -92,12 +92,16 @@ BUILD_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILD_TYPE}"
92
mkdir -p "${BUILD_DIR}"
93
cd "${BUILD_DIR}"
94
if cmake .. ${BUILD_OPTIONS}; then
95
- make -j "${JOBS}" && cd "$CURDIR"
+ if ! make -j "${JOBS}"; then
96
+ exit 1
97
+ fi
98
+ cd "$CURDIR"
99
+
100
if [ "${TEST}" == "True" ]; then
101
test
102
cd "$CURDIR"
103
fi
104
else
105
106
exit 1
-fi
107
+fi
0 commit comments