5f75110ebe
When displaying 'rows of -', stop at 77 rather than 79 to avoid pine wrapping the lines.
30 lines
1.4 KiB
Text
30 lines
1.4 KiB
Text
$NetBSD: patch-aa,v 1.1 2005/02/07 15:54:04 abs Exp $
|
|
|
|
--- scripts/ppf_decrypt.orig 2003-09-06 23:25:42.000000000 +0100
|
|
+++ scripts/ppf_decrypt
|
|
@@ -11,11 +11,11 @@ trap "rm -f ${TDIR}/* ; rmdir ${TDIR} ;
|
|
pgp_failed () {
|
|
message_file="${1}"
|
|
|
|
- echo '------------------------------------------------------------------------------' >${TDIR}/error
|
|
+ echo '----------------------------------------------------------------------------' >${TDIR}/error
|
|
echo "$0: ${2:-pgp command failed}" >>${TDIR}/error
|
|
echo '' >>${TDIR}/error
|
|
cat ${TDIR}/stderr >>${TDIR}/error
|
|
- echo '------------------------------------------------------------------------------' >>${TDIR}/error
|
|
+ echo '----------------------------------------------------------------------------' >>${TDIR}/error
|
|
echo '' >>${TDIR}/error
|
|
cp ${message_file} ${TDIR}/message
|
|
cat ${TDIR}/error ${TDIR}/message > ${message_file}
|
|
@@ -38,9 +38,9 @@ else
|
|
pgp_failed ${1} "Can't find pgp on this system"
|
|
fi
|
|
|
|
-echo '----------------------------- PGP Command Output -----------------------------' >${1}
|
|
+echo '--------------------------- PGP Command Output -----------------------------' >${1}
|
|
grep -v '^$' ${TDIR}/stderr >>${1}
|
|
-echo '------------------------------- End PGP Output -------------------------------' >>${1}
|
|
+echo '----------------------------- End PGP Output -------------------------------' >>${1}
|
|
echo '' >>${1}
|
|
cat ${TDIR}/message >>${1}
|
|
|