提交 2b2d50bd 编写于 作者: J Jarkko Sakkinen 提交者: Julia Lawall

scripts: coccicheck: Use /usr/bin/env

If bash is not located under /bin, coccicheck fails to run.  In the real
world, this happens for instance when NixOS is used in the host.  Instead,
use /usr/bin/env to locate the executable binary for bash.
Signed-off-by: NJarkko Sakkinen <jarkko@kernel.org>
Tested-by: NDeepak R Varma <drv@mailo.com>
Signed-off-by: NJulia Lawall <Julia.Lawall@inria.fr>
上级 180da5ef
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0
# Linux kernel coccicheck
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册