Commit 62767619 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: deb-pkg: remove support for EMAIL environment variable

Commit edec611d ("kbuild, deb-pkg: improve maintainer
identification") added the EMAIL and NAME environment variables.

Commit d5940c60 ("kbuild: deb-pkg improve maintainer address
generation") removed support for NAME, but kept support for EMAIL.

The EMAIL and NAME environment variables are supported by some tools
(see 'man debchange'), but not by all.

We should support both of them, or neither of them. We should not stop
halfway.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarNicolas Schier <nicolas@fjasle.eu>
parent d5afb482
......@@ -125,7 +125,7 @@ gen_source ()
rm -rf debian
mkdir debian
email=${DEBEMAIL-$EMAIL}
email=${DEBEMAIL}
# use email string directly if it contains <email>
if echo "${email}" | grep -q '<.*>'; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment