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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0
# Linux kernel coccicheck
#