1 |
commit: f0b6734ef4de18b1194032348360180646df23f4 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 28 21:00:50 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 28 21:00:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=f0b6734e |
7 |
|
8 |
Rename get_KV() to determine_KV() |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
gen_determineargs.sh | 2 +- |
13 |
genkernel | 4 ++-- |
14 |
2 files changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/gen_determineargs.sh b/gen_determineargs.sh |
17 |
index 856d88e..4ce2dc0 100755 |
18 |
--- a/gen_determineargs.sh |
19 |
+++ b/gen_determineargs.sh |
20 |
@@ -1,7 +1,7 @@ |
21 |
#!/bin/bash |
22 |
# $Id$ |
23 |
|
24 |
-get_KV() { |
25 |
+determine_KV() { |
26 |
local old_KV= |
27 |
[ -n "${KV}" ] && old_KV="${KV}" |
28 |
|
29 |
|
30 |
diff --git a/genkernel b/genkernel |
31 |
index 65b7820..395dcee 100755 |
32 |
--- a/genkernel |
33 |
+++ b/genkernel |
34 |
@@ -141,7 +141,7 @@ done |
35 |
# get the real arguments for usage... |
36 |
determine_real_args |
37 |
|
38 |
-get_KV |
39 |
+determine_KV |
40 |
# $KV is now either set to the version from previous compilation, |
41 |
# which would include LOCALVERSION suffix, or initialized with |
42 |
# unmodified KERNEL_SOURCE version (which normally has no LOCALVERSION set). |
43 |
@@ -231,7 +231,7 @@ then |
44 |
fi |
45 |
|
46 |
# KV may have changed due to the configuration |
47 |
- get_KV |
48 |
+ determine_KV |
49 |
if [ -f "${TEMP}/.old_kv" ] |
50 |
then |
51 |
old_KV=$(cat "${TEMP}/.old_kv") |