rp

simple email tools
git clone https://git.parazyd.org/rp
Log | Files | Refs | README | LICENSE

commit 3c732bed11449141ce0b9efe43b9257df5f3e85e
parent 36d771d88cc8a6caf80d583fde10e9cd01e6ad82
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 26 Feb 2019 11:40:47 +0100

Fix rpsign syntax error.

Diffstat:
Mbin/rpsign | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/rpsign b/bin/rpsign @@ -32,12 +32,13 @@ email="$(cat)" headers="$(echo "$email" | sed '/^$/q' | sed '/Content-Type: /d')" emabody="$(echo "$email" | sed '1,/^$/d')" -tosign="$(cat <<EOM )" +tosign="$(cat <<EOM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable $emabody EOM +)" signature="$(echo "$tosign" | sed 's/$/\r/' | gpg -baq --batch)"