diff options
-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 |