[Android] Abort on the first error encountered

Rafaël Carré git at videolan.org
Sun Apr 29 22:35:15 CEST 2012


android | branch: master | Rafaël Carré <funman at videolan.org> | Sun Apr 29 16:34:50 2012 -0400| [5421f9cc0e9b59348eae3a0bb06ad2ffc0c5b018] | committer: Rafaël Carré

Abort on the first error encountered

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=5421f9cc0e9b59348eae3a0bb06ad2ffc0c5b018
---

 compile.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/compile.sh b/compile.sh
index 9451583..94dde4a 100755
--- a/compile.sh
+++ b/compile.sh
@@ -1,5 +1,7 @@
 #! /bin/sh
 
+set -e
+
 # Read the Android HOWTO and setup all that stuff correctly.
 # Get the Android SDK Platform 2.1, 2.2 and 2.3 API : version 7, 8 and (9 or 10)
 # or modify numbers in configure.sh and vlc-android/default.properties.



More information about the Android mailing list