commit: f0b6734ef4de18b1194032348360180646df23f4 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Thu Mar 28 21:00:50 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> 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 <whissi <AT> 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")