summaryrefslogtreecommitdiffstats
path: root/sign-build
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-02-06 18:02:17 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-02-06 18:02:17 +0100
commit81c0e370a4cf463e5ee20c793b07d477a919559d (patch)
tree40f1f1c6516235bfa4687125d99db4bbafa0ae69 /sign-build
parentc49058c8153cefb92011144904c2f084c2e00499 (diff)
downloadvendor_replicant-81c0e370a4cf463e5ee20c793b07d477a919559d.zip
vendor_replicant-81c0e370a4cf463e5ee20c793b07d477a919559d.tar.gz
vendor_replicant-81c0e370a4cf463e5ee20c793b07d477a919559d.tar.bz2
sign-build: enforce abort on error
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'sign-build')
-rwxr-xr-xsign-build2
1 files changed, 2 insertions, 0 deletions
diff --git a/sign-build b/sign-build
index 6b94539..c5349e5 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