summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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