Skip to content

Commit 6276761

Browse files
committed
kbuild: deb-pkg: remove support for EMAIL environment variable
Commit edec611 ("kbuild, deb-pkg: improve maintainer identification") added the EMAIL and NAME environment variables. Commit d5940c6 ("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 <[email protected]> Reviewed-by: Nicolas Schier <[email protected]>
1 parent d5afb48 commit 6276761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/package/mkdebian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ gen_source ()
125125
rm -rf debian
126126
mkdir debian
127127

128-
email=${DEBEMAIL-$EMAIL}
128+
email=${DEBEMAIL}
129129

130130
# use email string directly if it contains <email>
131131
if echo "${email}" | grep -q '<.*>'; then

0 commit comments

Comments
 (0)