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 20D81138334 for ; Sun, 21 Jul 2019 16:26:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 262B0E0857; Sun, 21 Jul 2019 16:26:40 +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 0CD2CE0857 for ; Sun, 21 Jul 2019 16:26:40 +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 DFE703483DE for ; Sun, 21 Jul 2019 16:26:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E5B1720 for ; Sun, 21 Jul 2019 16:26:37 +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: <1563724070.64d9cb6d1ff5162995fa84f6480da442a63f5223.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: worker_modules/ X-VCS-Repository: proj/genkernel X-VCS-Files: worker_modules/gkbuild.sh X-VCS-Directories: worker_modules/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 64d9cb6d1ff5162995fa84f6480da442a63f5223 X-VCS-Branch: master Date: Sun, 21 Jul 2019 16:26:37 +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: 44c3d5a4-a0f5-45af-bf07-2fa7cf67c6a6 X-Archives-Hash: 1d481606b8dd208f179edd3bc617507e commit: 64d9cb6d1ff5162995fa84f6480da442a63f5223 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Jul 20 20:49:31 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Jul 21 15:47:50 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=64d9cb6d gkbuild.sh: Refactor gklibtoolize() function Signed-off-by: Thomas Deutschmann gentoo.org> worker_modules/gkbuild.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/worker_modules/gkbuild.sh b/worker_modules/gkbuild.sh index 20de263..32940a1 100644 --- a/worker_modules/gkbuild.sh +++ b/worker_modules/gkbuild.sh @@ -664,7 +664,12 @@ gkconf() { gklibtoolize() { type -P eltpatch &>/dev/null || die "eltpatch not found; is app-portage/elt-patches installed?" - gkexec "ELT_LOGDIR=\"${T}\" LD=\"$(tc-getLD)\" eltpatch ${*}" + local command=( "ELT_LOGDIR='${T}'" ) + command+=( "LD='$(tc-getLD)'" ) + command+=( "eltpatch" ) + command+=( "${@}" ) + + gkexec "${command[*]}" } # @FUNCTION: gkmake