提交 42ce60aa 编写于 作者: schspa's avatar schspa 提交者: Masahiro Yamada

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's avatarSchspa Shi <schspa@gmail.com>
Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
上级 2bbb4861
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2022 Masahiro Yamada <masahiroy@kernel.org>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册