From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E012D138334 for ; Mon, 29 Jul 2019 20:10:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9974E086A; Mon, 29 Jul 2019 20:10:30 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91719E086A for ; Mon, 29 Jul 2019 20:10:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3B27348F7B for ; Mon, 29 Jul 2019 20:10:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 242FE75C for ; Mon, 29 Jul 2019 20:10:25 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1564430537.2f855273fc88de81cf3ae1208549c58c9bc91ba5.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_determineargs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 2f855273fc88de81cf3ae1208549c58c9bc91ba5 X-VCS-Branch: master Date: Mon, 29 Jul 2019 20:10:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c4adae44-f656-40b3-b1cf-6674900d18be X-Archives-Hash: 0ec86ade569e5e4ced48a6867a274c8a commit: 2f855273fc88de81cf3ae1208549c58c9bc91ba5 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Jul 29 13:41:41 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Jul 29 20:02:17 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=2f855273 gen_determineargs.sh: determine_KV(): Quote $KERNEL_OUTPUTDIR Signed-off-by: Thomas Deutschmann gentoo.org> gen_determineargs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_determineargs.sh b/gen_determineargs.sh index f4b3cf7..b64cdba 100755 --- a/gen_determineargs.sh +++ b/gen_determineargs.sh @@ -44,10 +44,10 @@ determine_KV() { [ -f "${KERNEL_OUTPUTDIR}/include/linux/utsrelease.h" ] && \ VERSION_SOURCE="${KERNEL_OUTPUTDIR}/include/linux/utsrelease.h" # Handle new-style releases where version.h doesn't have UTS_RELEASE - if [ -f ${KERNEL_OUTPUTDIR}/include/config/kernel.release ] + if [ -f "${KERNEL_OUTPUTDIR}/include/config/kernel.release" ] then print_info 3 "Using '${KERNEL_OUTPUTDIR}/include/config/kernel.release' to extract LOCALVERSION ..." - UTS_RELEASE=$(cat ${KERNEL_OUTPUTDIR}/include/config/kernel.release) + UTS_RELEASE=$(cat "${KERNEL_OUTPUTDIR}/include/config/kernel.release") LOV=$(echo ${UTS_RELEASE}|sed -e "s/${VER}.${PAT}.${SUB}${EXV}//") KV=${VER}.${PAT}.${SUB}${EXV}${LOV} elif [ -n "${VERSION_SOURCE}" ]