tools: Remove trailing dot from mail addresses.
authorWerner Koch <wk@gnupg.org>
Fri, 2 Jan 2015 18:59:35 +0000 (19:59 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 2 Jan 2015 18:59:35 +0000 (19:59 +0100)
sendmail does not grok them.

tools/append-to-donors.sh

index 492ab32..60ca80c 100755 (executable)
@@ -136,7 +136,7 @@ find $journal_dir -type f -name 'journal-????????.log' -print \
                             xmail amount currency euro rest; do
             name=$(echo "$name" | tr \`\$: ...)
             message=$(echo "$message" | tr \`\$ ..)
-            xmail=$(echo "$xmail" | tr \`\$ ..)
+            xmail=$(echo "$xmail" | tr \`\$ .. | sed 's/\.$//')
             # Note that we removed colons from $name
             echo "$jyear:$datestr:$name::$lnr:" >> "$donors.tmp"
             touch "$donors".stamp