]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
kheaders: remove the last bashism to allow sh to run it
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 8 Oct 2019 12:05:55 +0000 (21:05 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 11 Nov 2019 11:10:01 +0000 (20:10 +0900)
commit1463f74f492eea7191f0178e01f3d38371a48210
treeb6e77eec46b928288a252505171aa9522d76a444
parentea79e5168be644fdaf7d4e6a73eceaf07b3da76a
kheaders: remove the last bashism to allow sh to run it

'pushd' ... 'popd' is the last bash-specific code in this script.
One way to avoid it is to run the code in a sub-shell.

With that addressed, you can run this script with sh.

I replaced $(BASH) with $(CONFIG_SHELL), and I changed the hashbang
to #!/bin/sh.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
kernel/Makefile
kernel/gen_kheaders.sh