Skip to content

Commit c0ca7a3

Browse files
committed
contrib: Error out if ct-ng build fails
Make sure we catch build failures. Signed-off-by: Keith Packard <[email protected]>
1 parent b152630 commit c0ca7a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/linux_build_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ EOF
129129
"${CT_NG}" distclean
130130
"${CT_NG}" defconfig DEFCONFIG=build.config
131131

132-
"${CT_NG}" build
132+
"${CT_NG}" build || exit 1
133133

134134
chmod -R u+w "${TOOLCHAIN_OUTPUT_DIR}"
135135

0 commit comments

Comments
 (0)