From 92a142d38895b5ef7c0360aa5ebeaaa870862861 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 29 Sep 2021 20:55:55 +0100 Subject: fixed bad file format --- xibuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xibuild') diff --git a/xibuild b/xibuild index 83751fb..a78235e 100755 --- a/xibuild +++ b/xibuild @@ -55,10 +55,11 @@ PRIV_KEY=$XI_ROOT/keychain/xi.pem PUB_KEY=$XI_ROOT/keychain/xi.pub if [ -f "$PRIV_KEY" ]; then - echo "SIGNATURE=\n" >> $PKG_INFO + echo "SIGNATURE=" >> $PKG_INFO openssl dgst -sign $PRIV_KEY $PKG_FILE >> $PKG_INFO else - echo "SIGNATURE=\nunsigned">> $PKG_INFO + echo "SIGNATURE=">> $PKG_INFO + echo "unsigned">> $PKG_INFO >&2 echo "WARNING! no private key: unsigned packages!" fi # clean up -- cgit v1.2.1