[Android] buildsystem: libvlc: enable 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> | Fri Jun 18 10:17:47 2021 +0200| [b891ef89f3848c10c29c8a6e35a68a3c5212bb62] | committer: Nicolas Pomepuy

buildsystem: libvlc: enable 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/b891ef89f3848c10c29c8a6e35a68a3c5212bb62
---

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

diff --git a/buildsystem/compile-libvlc.sh b/buildsystem/compile-libvlc.sh
index ca2559f75..99f80b32d 100755
--- a/buildsystem/compile-libvlc.sh
+++ b/buildsystem/compile-libvlc.sh
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 #############
 # ARGUMENTS #
 #############



More information about the Android mailing list