From: Yann E. MORIN" Date: Thu, 15 Nov 2012 20:32:38 +0000 (+0100) Subject: scripts: use a dot to separate third and fourth digits X-Git-Tag: v3.7.0.0~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1c22c507fb32fc9f23b17ea73933801813a0d4ff;p=kconfig-frontends scripts: use a dot to separate third and fourth digits Traditionally, Linux distributions have been using the dash as a separator between the package's upstream versionning and their own local packaging versioning. Using a dash in kconfig-frontends' own versioning scheme may confuse the distributions, which may not expect this situation (and even if some do, not all do). In the beginings, I thought about using a dash to make it explicit that the digits before the dash was Linux' version, while the digit(s) after the dash was kconfig-frontends' version. That, because the Linux version has only two digits for .0 releases, and three digits for stable releases. But since the Linux kernel's Makefile still report a three-digit version even for .0 releases, we ended up always using a three-digit Linux version, and thus always had a four-digit kconfig-frontends' version. So, use a dot instead of a dash. Signed-off-by: "Yann E. MORIN" --- diff --git a/scripts/version.sh b/scripts/version.sh index 57f699c..b3d0c6e 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -38,6 +38,6 @@ esac if [ "${plain}" -eq 1 ]; then echo "${k_ver_plain}" else - echo "${k_ver}${k_ver_extra}-${kf_ver}" + echo "${k_ver}${k_ver_extra}.${kf_ver}" fi