Skip to content

Commit 2b2d50b

Browse files
jarkkojsJuliaLawall
authored andcommitted
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: Jarkko Sakkinen <[email protected]> Tested-by: Deepak R Varma <[email protected]> Signed-off-by: Julia Lawall <[email protected]>
1 parent 180da5e commit 2b2d50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/coccicheck

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: GPL-2.0
33
# Linux kernel coccicheck
44
#

0 commit comments

Comments
 (0)