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 D6321138334 for ; Thu, 28 Mar 2019 23:43:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54971E0ACD; Thu, 28 Mar 2019 23:43:17 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 2FAF0E0ACD for ; Thu, 28 Mar 2019 23:43:17 +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 0382C335D26 for ; Thu, 28 Mar 2019 23:43:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F410458A for ; Thu, 28 Mar 2019 23:43:12 +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: <1553806850.f0b6734ef4de18b1194032348360180646df23f4.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_determineargs.sh genkernel X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: f0b6734ef4de18b1194032348360180646df23f4 X-VCS-Branch: master Date: Thu, 28 Mar 2019 23:43:12 +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: e246898b-bcb6-4180-a172-8420a1b9eea9 X-Archives-Hash: 882686e19391f5edf23d878ac8022a07 commit: f0b6734ef4de18b1194032348360180646df23f4 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Mar 28 21:00:50 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Mar 28 21:00:50 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=f0b6734e Rename get_KV() to determine_KV() Signed-off-by: Thomas Deutschmann gentoo.org> gen_determineargs.sh | 2 +- genkernel | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gen_determineargs.sh b/gen_determineargs.sh index 856d88e..4ce2dc0 100755 --- a/gen_determineargs.sh +++ b/gen_determineargs.sh @@ -1,7 +1,7 @@ #!/bin/bash # $Id$ -get_KV() { +determine_KV() { local old_KV= [ -n "${KV}" ] && old_KV="${KV}" diff --git a/genkernel b/genkernel index 65b7820..395dcee 100755 --- a/genkernel +++ b/genkernel @@ -141,7 +141,7 @@ done # get the real arguments for usage... determine_real_args -get_KV +determine_KV # $KV is now either set to the version from previous compilation, # which would include LOCALVERSION suffix, or initialized with # unmodified KERNEL_SOURCE version (which normally has no LOCALVERSION set). @@ -231,7 +231,7 @@ then fi # KV may have changed due to the configuration - get_KV + determine_KV if [ -f "${TEMP}/.old_kv" ] then old_KV=$(cat "${TEMP}/.old_kv")