summaryrefslogtreecommitdiffstats
path: root/scripts/package
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-07-03 03:02:40 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-07-16 01:08:38 +0900
commit6276761955817fd8259093a6e6a9ad88ab466b21 (patch)
tree12e533a642ca21c42e4bfaecfb57fb5e2d907774 /scripts/package
parentd5afb4824f142205900aa4a3a133b5dd68720e67 (diff)
downloadlinux-stable-6276761955817fd8259093a6e6a9ad88ab466b21.tar.gz
linux-stable-6276761955817fd8259093a6e6a9ad88ab466b21.tar.bz2
linux-stable-6276761955817fd8259093a6e6a9ad88ab466b21.zip
kbuild: deb-pkg: remove support for EMAIL environment variable
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>
Diffstat (limited to 'scripts/package')
-rwxr-xr-xscripts/package/mkdebian2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index b9a5b789c655..589f92b88c42 100755
--- a/scripts/package/mkdebian
+++ b/scripts/package/mkdebian
@@ -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