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 744B6138359 for ; Mon, 17 Aug 2020 23:22:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87E00E088B; Mon, 17 Aug 2020 23:22:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 67E4EE088B for ; Mon, 17 Aug 2020 23:22:01 +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 0D59B34F186 for ; Mon, 17 Aug 2020 23:22:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84859EC for ; Mon, 17 Aug 2020 23:21:58 +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: <1597705820.9e38bfe0fe48ae6508680a37fd5cbf37620b57cc.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_funcs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 9e38bfe0fe48ae6508680a37fd5cbf37620b57cc X-VCS-Branch: master Date: Mon, 17 Aug 2020 23:21:58 +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: e830e56c-67c4-401f-9d41-5512cff104ac X-Archives-Hash: 927f75010566b215a9ac9bd22bd6b15b commit: 9e38bfe0fe48ae6508680a37fd5cbf37620b57cc Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Aug 17 23:10:20 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Aug 17 23:10:20 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=9e38bfe0 gen_funcs.sh: kconfig_set_opt(): Change separator to allow setting of paths Bug: https://bugs.gentoo.org/737598 Signed-off-by: Thomas Deutschmann gentoo.org> gen_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_funcs.sh b/gen_funcs.sh index 0eea8ee..208a7e9 100755 --- a/gen_funcs.sh +++ b/gen_funcs.sh @@ -2033,7 +2033,7 @@ kconfig_set_opt() { else print_info 3 "$(get_indent ${indentlevel}) - Setting option '${optname}' to '${optval}' in '${kconfig}'..." sed -i "${kconfig}" \ - -e "s/^#\? \?${optname}[ =].*/${optname}=${optval}/g" \ + -e "s|^#\? \?${optname}[ =].*|${optname}=${optval}|g" \ || gen_die "Failed to set '${optname}=${optval}' in '${kconfig}'" [ ! -f "${KCONFIG_MODIFIED_MARKER}" ] && touch "${KCONFIG_MODIFIED_MARKER}"