Searched hist:"5 df99bec210a2cf89dd91e52f0d0a714bf4cd96a" (Results 1 – 1 of 1) sorted by relevance
/linux/scripts/ |
H A D | setlocalversion | diff 5df99bec210a2cf89dd91e52f0d0a714bf4cd96a Mon Jul 12 21:35:46 CEST 2021 Mikulas Patocka <mpatocka@redhat.com> scripts/setlocalversion: fix a bug when LOCALVERSION is empty
The commit 042da426f8eb ("scripts/setlocalversion: simplify the short version part") reduces indentation. Unfortunately, it also changes behavior in a subtle way - if the user has empty "LOCALVERSION" variable, the plus sign is appended to the kernel version. It wasn't appended before.
This patch reverts to the old behavior - we append the plus sign only if the LOCALVERSION variable is not set.
Fixes: 042da426f8eb ("scripts/setlocalversion: simplify the short version part") Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
|