Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Mon, 29 Jul 2019 20:10:33
Message-Id: 1564430537.2f855273fc88de81cf3ae1208549c58c9bc91ba5.whissi@gentoo
1 commit: 2f855273fc88de81cf3ae1208549c58c9bc91ba5
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 29 13:41:41 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 29 20:02:17 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=2f855273
7
8 gen_determineargs.sh: determine_KV(): Quote $KERNEL_OUTPUTDIR
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11
12 gen_determineargs.sh | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/gen_determineargs.sh b/gen_determineargs.sh
16 index f4b3cf7..b64cdba 100755
17 --- a/gen_determineargs.sh
18 +++ b/gen_determineargs.sh
19 @@ -44,10 +44,10 @@ determine_KV() {
20 [ -f "${KERNEL_OUTPUTDIR}/include/linux/utsrelease.h" ] && \
21 VERSION_SOURCE="${KERNEL_OUTPUTDIR}/include/linux/utsrelease.h"
22 # Handle new-style releases where version.h doesn't have UTS_RELEASE
23 - if [ -f ${KERNEL_OUTPUTDIR}/include/config/kernel.release ]
24 + if [ -f "${KERNEL_OUTPUTDIR}/include/config/kernel.release" ]
25 then
26 print_info 3 "Using '${KERNEL_OUTPUTDIR}/include/config/kernel.release' to extract LOCALVERSION ..."
27 - UTS_RELEASE=$(cat ${KERNEL_OUTPUTDIR}/include/config/kernel.release)
28 + UTS_RELEASE=$(cat "${KERNEL_OUTPUTDIR}/include/config/kernel.release")
29 LOV=$(echo ${UTS_RELEASE}|sed -e "s/${VER}.${PAT}.${SUB}${EXV}//")
30 KV=${VER}.${PAT}.${SUB}${EXV}${LOV}
31 elif [ -n "${VERSION_SOURCE}" ]