From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 40D41138336 for ; Wed, 2 Oct 2019 22:45:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6588CE088C; Wed, 2 Oct 2019 22:45:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F84DE088C for ; Wed, 2 Oct 2019 22:45:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3DEA834B7C4 for ; Wed, 2 Oct 2019 22:45:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0E0D7FE for ; Wed, 2 Oct 2019 22:45:26 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1569771280.4b896513136628bc6b038dff585ac39fc9e27f78.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_determineargs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 4b896513136628bc6b038dff585ac39fc9e27f78 X-VCS-Branch: master Date: Wed, 2 Oct 2019 22:45:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bf96fa26-1d3b-4690-872b-b0670d6be152 X-Archives-Hash: e77d2f85fcb62fc2125c05bb5732a27e commit: 4b896513136628bc6b038dff585ac39fc9e27f78 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Sep 29 15:30:37 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Sep 29 15:34:40 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=4b896513 gen_determineargs.sh: determine_KV(): Define global KV_NUMERIC variable Signed-off-by: Thomas Deutschmann gentoo.org> gen_determineargs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gen_determineargs.sh b/gen_determineargs.sh index db6ccf9..82ce4ed 100755 --- a/gen_determineargs.sh +++ b/gen_determineargs.sh @@ -74,6 +74,7 @@ determine_KV() { KV_MAJOR=$(echo $KV | cut -f1 -d.) KV_MINOR=$(echo $KV | cut -f2 -d.) + KV_NUMERIC=$((${KV_MAJOR} * 1000 + ${KV_MINOR})) if [ -n "${old_KV}" -a "${KV}" != "${old_KV}" ] then