commit:     7183c82189dcfdaf514ce54f3e688fe1d05c4402
Author:     Nic Boet <nic <AT> boet <DOT> cc>
AuthorDate: Mon Jul 19 03:00:55 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 19 03:03:10 2021 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=7183c821

targets: Pass gk_callback_opts as a string instead of array

Fixes: e5855bef ("targets: Use arrays rather than string concatenation")
Signed-off-by: Nic Boet <nic <AT> boet.cc>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 targets/support/kmerge.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index fb67aba6..20b471f1 100755
--- a/targets/support/kmerge.sh
+++ b/targets/support/kmerge.sh
@@ -60,7 +60,8 @@ genkernel_compile() {
        fi
 
        if [[ -n ${kernel_merge} ]]; then
-               genkernel --callback="emerge ${gk_callback_opts[@]} 
${kernel_merge}" \
+               gk_callback=${gk_callback_opts[@]}
+               genkernel --callback="emerge ${gk_callback} ${kernel_merge}" \
                        "${GK_ARGS[@]}" || exit 1
        else
                genkernel "${GK_ARGS[@]}" || exit 1

Reply via email to