APPLIED: [kteam-tools] notify-stable-release: fix typo in ancient version detector
Kamal Mostafa
kamal at canonical.com
Fri Jan 8 21:56:09 UTC 2016
This typo makes the script think "v4.2" is an ancient v2.x kernel, and
so confuses its parsing of the kernel version.
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
stable/notify-stable-release | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stable/notify-stable-release b/stable/notify-stable-release
index f5620e8..c8d10fa 100755
--- a/stable/notify-stable-release
+++ b/stable/notify-stable-release
@@ -133,7 +133,7 @@ for line in open("Makefile", "r").readlines():
if line.startswith("EXTRAVERSION"):
v4 = line.split()[-1]
break
-if v1 == "1" or v2 == "2":
+if v1 == "1" or v1 == "2":
basever = "%s.%s.%s" % (v1, v2, v3)
else:
basever = "%s.%s" % (v1, v2)
--
1.9.1
More information about the kernel-team
mailing list