Commit 2b2d50bd authored by Jarkko Sakkinen's avatar Jarkko Sakkinen Committed by 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: default avatarJarkko Sakkinen <jarkko@kernel.org>
Tested-by: default avatarDeepak R Varma <drv@mailo.com>
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
parent 180da5ef
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0
# Linux kernel coccicheck
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment