Skip to content

Commit

Permalink
kbuild: Allow to select bash in a modified environment
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
schspa authored and masahir0y committed Jun 4, 2022
1 parent 2bbb486 commit 42ce60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-local-export
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2022 Masahiro Yamada <[email protected]>
Expand Down

0 comments on commit 42ce60a

Please sign in to comment.