setlocalversion: simplify the construction of the short version
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 22 Jan 2023 14:14:22 +0000 (23:14 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 5 Feb 2023 09:34:11 +0000 (18:34 +0900)
commit992ebfab2a75c276fe27f7fd7a3fb326ccd7225b
tree6643f6c2df2446837f294d02414c7e3e035d714a
parentf6e09b07cc12a4d104bb19fe7566b0636f60c413
setlocalversion: simplify the construction of the short version

With the --short option given, scm_version() prints "+".
Just append it.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/setlocalversion