summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-09-29 20:55:55 +0100
committerdavidovski <david@davidovski.xyz>2021-09-29 20:55:55 +0100
commit92a142d38895b5ef7c0360aa5ebeaaa870862861 (patch)
treea859ffae94103ce8a4e4799b5552ce8623d17735
parent5b046bf12ce86157c32c68d6981ffe30796183f4 (diff)
fixed bad file format
-rwxr-xr-xxibuild5
1 files changed, 3 insertions, 2 deletions
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