summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-07 12:06:06 +0200
committerErich Eckner <git@eckner.net>2017-09-07 12:06:06 +0200
commitd087b8b30a7107f6aaf8559722ec55a9cd9d52a2 (patch)
tree84557e184a2fb718191d4f48050cd06ac67c5b60
parentae05b79ccc0d4cae8c0f0da298369ddb634d9818 (diff)
downloadbuilder-d087b8b30a7107f6aaf8559722ec55a9cd9d52a2.tar.xz
bin/interpret-mail: be less restrictive about PGP layout
-rwxr-xr-xbin/interpret-mail4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/interpret-mail b/bin/interpret-mail
index effca9c..cfdf665 100755
--- a/bin/interpret-mail
+++ b/bin/interpret-mail
@@ -47,9 +47,9 @@ if ! hashcash -qXc -b 20 \
fi
if ! sed -n '
- /^-----BEGIN PGP MESSAGE-----$/{
+ /^-----BEGIN PGP MESSAGE-----\s*$/{
:a
- /\n-----END PGP MESSAGE-----$/!{
+ /\n-----END PGP MESSAGE-----\s*$/!{
N
ba
}