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 66F01138334 for ; Sun, 21 Jul 2019 16:26:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BB20E0878; Sun, 21 Jul 2019 16:26:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 726BEE0878 for ; Sun, 21 Jul 2019 16:26:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 683C73483DF for ; Sun, 21 Jul 2019 16:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C4BE74E for ; Sun, 21 Jul 2019 16:26:38 +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: <1563725385.dae2cb4fd217150b0a1741252d9ed3c6856a4dc5.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: dae2cb4fd217150b0a1741252d9ed3c6856a4dc5 X-VCS-Branch: master Date: Sun, 21 Jul 2019 16:26:38 +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: 29576d8a-bc7a-4392-8476-34cefc0fd414 X-Archives-Hash: 8726a2e303fe7351bfb5323812d1843f commit: dae2cb4fd217150b0a1741252d9ed3c6856a4dc5 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Jul 21 15:40:16 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Jul 21 16:09:45 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=dae2cb4f genkernel: Make sure additional variables which can clash with genkernel are unset Signed-off-by: Thomas Deutschmann gentoo.org> genkernel | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/genkernel b/genkernel index 751b7af..45e1fec 100755 --- a/genkernel +++ b/genkernel @@ -34,6 +34,10 @@ GK_DETERMINEARGS_FILE="${GK_SHARE}/gen_determineargs.sh" GK_SETTINGS=( $(awk '/[^#]set_config_with_override/ { print $3 }' "${GK_DETERMINEARGS_FILE}" 2>/dev/null) ) if [ ${#GK_SETTINGS[@]} -gt 0 ] then + GK_SETTINGS+=( CALLBACK ) + GK_SETTINGS+=( EXTRAVERSION ) + GK_SETTINGS+=( MOD_INSTALL ) + for GK_SETTING in "${GK_SETTINGS[@]}" do for var_to_unset in ${GK_SETTING} CMD_${GK_SETTING}