Commit 62767619 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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