[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAS6JWgrjFiCHpj=ZMHVM-xddCQgOVWv0N_-YxL+v1f4=g@mail.gmail.com>
Date: Sat, 4 Jun 2022 01:35:27 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Schspa Shi <schspa@...il.com>
Cc: Nick Desaulniers <ndesaulniers@...gle.com>,
Michal Marek <michal.lkml@...kovi.net>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>
Subject: Re: [PATCH] kbuild: Allow to select bash in a modified environment
On Fri, Jun 3, 2022 at 6:39 PM Schspa Shi <schspa@...il.com> wrote:
>
> This fixes the build error when the system has a default bash version
> which is too old to support associative array variables.
>
> The build error log as fellowing:
> linux/scripts/check-local-export: line 11: declare: -A: invalid option
> declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
>
> Signed-off-by: Schspa Shi <schspa@...il.com>
> ---
Applied to linux-kbuild. Thanks.
> scripts/check-local-export | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/check-local-export b/scripts/check-local-export
> index 017119d89cd2..2defd0bf3552 100755
> --- a/scripts/check-local-export
> +++ b/scripts/check-local-export
> @@ -1,4 +1,4 @@
> -#!/bin/bash
> +#!/usr/bin/env bash
> # SPDX-License-Identifier: GPL-2.0-only
> #
> # Copyright (C) 2022 Masahiro Yamada <masahiroy@...nel.org>
> --
> 2.24.3 (Apple Git-128)
>
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists