]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
kbuild: deb-pkg: remove support for EMAIL environment variable
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 2 Jul 2024 18:02:40 +0000 (03:02 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 15 Jul 2024 16:08:38 +0000 (01:08 +0900)
Commit edec611db047 ("kbuild, deb-pkg: improve maintainer
identification") added the EMAIL and NAME environment variables.

Commit d5940c60e057 ("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: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/package/mkdebian

index b9a5b789c65521ffd66a99b37fa57d07fa7dbe69..589f92b88c4229b45f9599780520ef203c63fbbf 100755 (executable)
@@ -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