diff options
author | davidovski <david@davidovski.xyz> | 2021-09-29 20:55:55 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-09-29 20:55:55 +0100 |
commit | 92a142d38895b5ef7c0360aa5ebeaaa870862861 (patch) | |
tree | a859ffae94103ce8a4e4799b5552ce8623d17735 /xibuild | |
parent | 5b046bf12ce86157c32c68d6981ffe30796183f4 (diff) |
fixed bad file format
Diffstat (limited to 'xibuild')
-rwxr-xr-x | xibuild | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |