commit: 56589b38d7d6c6ff07eac8dd23195a58cdcb4190
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 07:06:28 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> 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 <whissi <AT> 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() {