From: Schspa Shi Date: Fri, 3 Jun 2022 09:38:52 +0000 (+0800) Subject: kbuild: Allow to select bash in a modified environment X-Git-Tag: baikal/mips/sdk6.1~5556^2 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=19d8c48e0ad1ffa0fd1e5100bd3a56d71f513e5c;p=kernel.git kbuild: Allow to select bash in a modified environment 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 Signed-off-by: Masahiro Yamada --- diff --git a/scripts/check-local-export b/scripts/check-local-export index 2c46912be0efc..da745e2743b74 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