Skip to content
Snippets Groups Projects
Commit 2b2d50bd authored by Jarkko Sakkinen's avatar Jarkko Sakkinen Committed by Julia Lawall
Browse files

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
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
# Linux kernel coccicheck # Linux kernel coccicheck
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment