Skip to content

Commit dea2746

Browse files
committed
make.cross: bail out when any command fails in the script
When an error occurs, propagate it to the caller. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 2ea674e commit dea2746

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kbuild/make.cross

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
# Author: Fengguang Wu <[email protected]>
2121
# Credit: Tony Breeds <[email protected]> for crosstool
2222

23+
set -e
24+
2325
lkp_src_kbuild=$(dirname "$(realpath "$0")")
2426

2527
source $lkp_src_kbuild/kbuild.sh

0 commit comments

Comments
 (0)