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 F2085138337 for ; Tue, 26 Mar 2019 08:07:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C31CAE088B; Tue, 26 Mar 2019 08:07:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 9E41BE088A for ; Tue, 26 Mar 2019 08:07:16 +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 06A03335CEF for ; Tue, 26 Mar 2019 08:07:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7125A57D for ; Tue, 26 Mar 2019 08:07:13 +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: <1553584325.56589b38d7d6c6ff07eac8dd23195a58cdcb4190.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: 56589b38d7d6c6ff07eac8dd23195a58cdcb4190 X-VCS-Branch: master Date: Tue, 26 Mar 2019 08:07:13 +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: 0d48a527-6ac9-440f-9b73-5b0daaae0013 X-Archives-Hash: d63d648366dd26988ac90ff1a82bebd2 commit: 56589b38d7d6c6ff07eac8dd23195a58cdcb4190 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Mar 26 07:06:28 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Mar 26 07:12:05 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=56589b38 get_KV(): export KV_MAJOR & KV_MINOR Signed-off-by: Thomas Deutschmann gentoo.org> gen_determineargs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gen_determineargs.sh b/gen_determineargs.sh index 5b4a240..1b4a08b 100755 --- a/gen_determineargs.sh +++ b/gen_determineargs.sh @@ -63,6 +63,9 @@ get_KV() { KV=${VER}.${PAT}.${SUB}${EXV}${LCV} fi fi + + KV_MAJOR=$(echo $KV | cut -f1 -d.) + KV_MINOR=$(echo $KV | cut -f2 -d.) } determine_real_args() {