script: Do not append a plus behind the localversion

Since the script automatically appends a plus behind the localversion,
this commit removes it to make the version prettier.

Signed-off-by: crrashh1542 <kotsuki@crrashh.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
This commit is contained in:
crrashh1542 2025-01-12 00:24:45 +08:00 • committed by Sorayukii
commit 60ff99c170

View file

@ -180,13 +180,11 @@ if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then
# full scm version string
res="$res$(scm_version)"
else
# append a plus sign if the repository is not in a clean
# annotated or signed tagged state (as git describe only
# looks at signed or annotated tags - git tag -a/-s) and
# LOCALVERSION= is not specified
if test "${LOCALVERSION+set}" != "set"; then
scm=$(scm_version --short)
res="$res${scm:++}"
fi
fi