summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2018-05-07 10:11:34 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-05-17 22:38:15 +0900
commitd5940c60e0575ad666132a612a73e6597f90d4c3 (patch)
treee44cc0c41f20979fb92a29f59eec815fd35955fb /Kbuild
parentb3aa58d2e85d5253a35a81320ae4d63ba6a482f0 (diff)
downloadlinux-stable-d5940c60e0575ad666132a612a73e6597f90d4c3.tar.gz
linux-stable-d5940c60e0575ad666132a612a73e6597f90d4c3.tar.bz2
linux-stable-d5940c60e0575ad666132a612a73e6597f90d4c3.zip
kbuild: deb-pkg improve maintainer address generation
There is multiple issues with the genaration of maintainer string It uses DEBEMAIL and EMAIL enviroment variables, which may contain angle brackets, creating invalid maintainer strings. The documented KBUILD_BUILD_USER and KBUILD_BUILD_HOST variables are not used. Undocumented and uncommon NAME variable is used. Refactor the Maintainer string to: - use EMAIL or DEBEMAIL directly if they are in form "name <user@host>" - use KBUILD_BUILD_USER and KBUILD_BUILD_HOST if set before falling back to autodetection - no longer use NAME variable or the useless Anonymous string The logic is switched from multiline if/then/fi statements to compact shell variable substition commands. Reported-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions