[Android] buildsystem: medialibrary: add set -e

Alexandre Janniaux git at videolan.org
Wed Jun 23 04:04:49 UTC 2021


vlc-android | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Tue Jun 22 17:56:51 2021 +0200| [86682d01e32fbd0fbcaa55710086338c00ef1e93] | committer: Nicolas Pomepuy

buildsystem: medialibrary: add set -e

Make the buildscript fail in case of error, instead of continuing in
a potentially invalid state.

> https://code.videolan.org/videolan/vlc-android/commit/86682d01e32fbd0fbcaa55710086338c00ef1e93
---

 buildsystem/compile-medialibrary.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/buildsystem/compile-medialibrary.sh b/buildsystem/compile-medialibrary.sh
index 433a238f0..0edb5defb 100755
--- a/buildsystem/compile-medialibrary.sh
+++ b/buildsystem/compile-medialibrary.sh
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 #############
 # ARGUMENTS #
 #############



More information about the Android mailing list