Skip to content

Commit bbdc904

Browse files
committed
Stop script if a command fails
1 parent f352e6b commit bbdc904

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

generate_rel.sh

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ echo -n "Library: "
1111
find ./ -name "libbootutil.a"
1212
fi
1313

14+
set -e
15+
1416
if [[ $1 == "portenta" ]] || [[ $1 == "all" ]]; then
1517
echo
1618
echo Generating binaries for PORTENTA H7

0 commit comments

Comments
 (0)