From 1ea3c4a8f7f5ae944c298099493af01b436da9d0 Mon Sep 17 00:00:00 2001 From: Brad House Date: Mon, 22 Dec 2003 21:22:43 +0000 Subject: [PATCH] get extraversion properly git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@28 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- gen_determineargs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_determineargs.sh b/gen_determineargs.sh index c27249d..aded8d8 100644 --- a/gen_determineargs.sh +++ b/gen_determineargs.sh @@ -7,11 +7,11 @@ get_KV() { # local PAT local SUB local EXV - + VER=`grep ^VERSION\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };'` PAT=`grep ^PATCHLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };'` SUB=`grep ^SUBLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };'` - EXV=`grep ^EXTRAVERSION\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };'` + EXV=`grep ^EXTRAVERSION\ \= ${KERNEL_DIR}/Makefile | sed -e "s/EXTRAVERSION =//" -e "s/ //g"` KV=${VER}.${PAT}.${SUB}${EXV} } -- 2.26.2