From 81c0e370a4cf463e5ee20c793b07d477a919559d Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Sat, 6 Feb 2016 18:02:17 +0100 Subject: [PATCH] sign-build: enforce abort on error Signed-off-by: Wolfgang Wiedmeyer --- sign-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sign-build b/sign-build index 6b94539a..c5349e54 100755 --- a/sign-build +++ b/sign-build @@ -26,6 +26,8 @@ # both outputs should match # also /system/etc/security/otacerts.zip should only contain your release key +set -e + BASEDIR=$(pwd) KEY_DIR=$BASEDIR/vendor/replicant-security TARGET_FILES=$BASEDIR/out/target/product/*/obj/PACKAGING/target_files_intermediates/*-target_files-*.zip