summaryrefslogtreecommitdiffstats
path: root/scripts/check-local-export
diff options
context:
space:
mode:
authorSchspa Shi <schspa@gmail.com>2022-06-03 11:38:52 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2022-06-04 23:20:58 +0200
commit42ce60aa5aa46ae00f71aa806a11510b6db6d1a7 (patch)
tree0402ac1f01c79f059330fdb5db41cbe9c3a2c501 /scripts/check-local-export
parentscripts: kconfig: nconf: make nconfig accept jk keybindings (diff)
downloadlinux-42ce60aa5aa46ae00f71aa806a11510b6db6d1a7.tar.xz
linux-42ce60aa5aa46ae00f71aa806a11510b6db6d1a7.zip
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 <schspa@gmail.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to '')
-rwxr-xr-xscripts/check-local-export2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-local-export b/scripts/check-local-export
index 2c46912be0ef..da745e2743b7 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@kernel.org>