Skip to content

Commit 42ce60a

Browse files
schspamasahir0y
authored andcommitted
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 <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 2bbb486 commit 42ce60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check-local-export

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: GPL-2.0-only
33
#
44
# Copyright (C) 2022 Masahiro Yamada <[email protected]>

0 commit comments

Comments
 (0)