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 595BA138359 for ; Fri, 28 Aug 2020 20:18:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8B57E0A9C; Fri, 28 Aug 2020 20:18:51 +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 8EBC5E0A9C for ; Fri, 28 Aug 2020 20:18:51 +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 8BE23340A5C for ; Fri, 28 Aug 2020 20:18:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E48033A for ; Fri, 28 Aug 2020 20:18:46 +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: <1598622338.0bb175ba11cf09d6e3f64d2670039ca01a874c10.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: 0bb175ba11cf09d6e3f64d2670039ca01a874c10 X-VCS-Branch: master Date: Fri, 28 Aug 2020 20:18:46 +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: 3ef390b0-caa9-4b4c-971e-9d6107b68eb5 X-Archives-Hash: fee82445b809fa2dc6c578e4fb11ce81 commit: 0bb175ba11cf09d6e3f64d2670039ca01a874c10 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Aug 28 12:56:29 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Aug 28 13:45:38 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0bb175ba gen_funcs.sh: _tc-getPROG(): Prevent override with empty value Signed-off-by: Thomas Deutschmann gentoo.org> gen_funcs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gen_funcs.sh b/gen_funcs.sh index 208a7e9..ab7a7ce 100755 --- a/gen_funcs.sh +++ b/gen_funcs.sh @@ -1220,6 +1220,7 @@ _tc-getPROG() { done if [[ -n "${!prog_default_varname}" ]] \ + && [[ -n "${!prog_override_varname}" ]] \ && [[ "${!prog_override_varname}" != "${!prog_default_varname}" ]] then # User wants to run specific program