From 114b5a61337ad36f9a0879bc5edef019cbcfef37 Mon Sep 17 00:00:00 2001 From: Sangjung Woo Date: Mon, 11 May 2020 18:53:57 +0900 Subject: [PATCH] [Android] Stop when first error occurs When running build-android-lib.sh, it does not stop even though error occur (e.g. command not found). It makes users hard to find the reason of the problem. This patch stops first error occurs so users can fix it easily. Signed-off-by: Sangjung Woo --- api/android/build-android-lib.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/api/android/build-android-lib.sh b/api/android/build-android-lib.sh index 7174e4d..12f662b 100644 --- a/api/android/build-android-lib.sh +++ b/api/android/build-android-lib.sh @@ -27,6 +27,7 @@ # For example, to build library with core plugins for arm64-v8a # ./build-android-lib.sh --api_option=lite --target_abi=arm64-v8a # +set -e # API build option # 'all' : default -- 2.7.4