Package: reportbug
Version: 7.1.2
Severity: minor
Tags: patch

Dear Maintainer,

Even in reportbug 7.1.2, the manpage still says:

> REPORTBUGEMAIL, EMAIL, DEBEMAIL
>     Email  address  to use as your from address (in this order). If
>     no environment variable exists, the default is taken from your
>     user name and /etc/mailname.

The order of the environment variable does not match the code, which
means that the fix for bug #472296 was not complete/correct.

Patch attached.
>From d4b4fe45ba0a424b7c2ae7bdb2ab8b0b3df994c7 Mon Sep 17 00:00:00 2001
From: Nis Martensen <[email protected]>
Date: Sat, 14 Jan 2017 10:50:14 +0100
Subject: [PATCH] manpage: fix order of email environment variables

---
 man/reportbug.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/reportbug.1 b/man/reportbug.1
index df33de5..f5f0ede 100644
--- a/man/reportbug.1
+++ b/man/reportbug.1
@@ -519,7 +519,7 @@ Editor to use for editing your bug report.
 .B EDITOR
 Editor to use for editing the bug report (overridden by \fBVISUAL\fP).
 .TP
-.B REPORTBUGEMAIL, EMAIL, DEBEMAIL
+.B REPORTBUGEMAIL, DEBEMAIL, EMAIL
 Email address to use as your from address (in this order). If no
 environment variable exists, the default is taken from your user name
 and \fB/etc/mailname\fP.
-- 
2.1.4

Reply via email to