[Replicant] [PATCH] Work around that 'make-key' has rc 1 on success.

Simon Josefsson simon at josefsson.org
Sat Mar 4 07:29:19 UTC 2017


The 'make_key' script returns rc 1 on both failure and success, so work
around by ignoring exit code from that script.

---
 sign-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sign-build b/sign-build
index f4c809e2..068677c6 100755
--- a/sign-build
+++ b/sign-build
@@ -71,7 +71,7 @@ generate_keys () {
 
     mkdir $KEY_DIR
     for x in releasekey platform shared media; do \
-        ./development/tools/make_key $KEY_DIR/$x "$SUBJECT"; \
+        ./development/tools/make_key $KEY_DIR/$x "$SUBJECT" || true; \
     done
 }
 
-- 
2.11.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20170304/158cd8f4/attachment.asc>


More information about the Replicant mailing list