From patchwork Tue Jan 5 19:43:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 563295 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id C59511402DE; Wed, 6 Jan 2016 06:43:33 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1aGXVv-0001hq-GA; Tue, 05 Jan 2016 19:43:27 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1aGXVq-0001hl-ML for kernel-team@lists.ubuntu.com; Tue, 05 Jan 2016 19:43:22 +0000 Received: from 1.general.kamal.us.vpn ([10.172.68.52] helo=fourier) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1aGXVq-0005PH-9t; Tue, 05 Jan 2016 19:43:22 +0000 Received: from kamal by fourier with local (Exim 4.82) (envelope-from ) id 1aGXVn-0006YD-GX; Tue, 05 Jan 2016 11:43:19 -0800 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: APPLIED: [kteam-tools] notify-stable-review: fix typo in ancient version detector Date: Tue, 5 Jan 2016 11:43:10 -0800 Message-Id: <1452022990-25147-1-git-send-email-kamal@canonical.com> X-Mailer: git-send-email 1.9.1 Cc: Kamal Mostafa X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com 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 --- stable/notify-stable-review | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable/notify-stable-review b/stable/notify-stable-review index 04ebc95..f033f1e 100755 --- a/stable/notify-stable-review +++ b/stable/notify-stable-review @@ -418,7 +418,7 @@ see https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable . #else: # kver[2] = str(int(kver[2])+1) # Get the base version - if kver[0] == "1" or kver[1] == "2": + if kver[0] == "1" or kver[0] == "2": base_ver = "%s.%s.%s.y" % (kver[0], kver[1], kver[2]) main_ver = "%s.%s.%s" % (kver[0], kver[1], kver[2]) else: