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

Wolfgang Wiedmeyer wreg at wiedmeyer.de
Sat Mar 4 20:18:49 UTC 2017


Simon Josefsson writes:

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

thanks, applied!

> ---
>  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
>  }


-- 
Website: https://fossencdi.org
OpenPGP: 0F30 D1A0 2F73 F70A 6FEE  048E 5816 A24C 1075 7FC4
Key download: https://wiedmeyer.de/keys/ww.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20170304/6252e70c/attachment.asc>


More information about the Replicant mailing list