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 DF0D8138350 for ; Thu, 5 Mar 2020 15:10:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48699E0975; Thu, 5 Mar 2020 15:10:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 331D2E0971 for ; Thu, 5 Mar 2020 15:10:28 +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 9FE0F34ED83 for ; Thu, 5 Mar 2020 15:10:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F088C173 for ; Thu, 5 Mar 2020 15:10:22 +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: <1583419017.37fd6919ed868aeb9f45fa0d908769fc250ae90f.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: genkernel X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 37fd6919ed868aeb9f45fa0d908769fc250ae90f X-VCS-Branch: master Date: Thu, 5 Mar 2020 15:10:22 +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: 7380936c-6885-42b4-b14a-aabf500275f0 X-Archives-Hash: 8d05403a60804c8b4ce4ca3cb0c88f7b commit: 37fd6919ed868aeb9f45fa0d908769fc250ae90f Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Mar 5 14:36:57 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Mar 5 14:36:57 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=37fd6919 genkernel: don't filter MAKEOPTS environment variable Since commit 2c91f07c4a459efb6a8fbc11ec2525cc3020b96f we are filtering any already set environment variable named like a genkernel option to avoid clashing with default values. However, MAKEOPTS is a special variable and it's common in Gentoo that tools will honor this environment variable. This commit will change genkernel to no longer filter an already set MAKEOPTS environment variable. Signed-off-by: Thomas Deutschmann gentoo.org> genkernel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/genkernel b/genkernel index a2c358d..68ce1a9 100755 --- a/genkernel +++ b/genkernel @@ -42,6 +42,11 @@ then for GK_SETTING in "${GK_SETTINGS[@]}" do + if [[ "${GK_SETTING}" == "MAKEOPTS" ]] + then + continue + fi + for var_to_unset in ${GK_SETTING} CMD_${GK_SETTING} do if [ -n "${!var_to_unset}" ]