[PATCH 1/6] docs: nixify check-sysctl-docs
Joel Granados
joel.granados at kernel.org
Tue Jul 1 01:56:42 PDT 2025
Use "#!/usr/bin/env -S gawk -f" instead of "#!/bin/gawk". Needed for
testing in nix environments as they only provide /usr/bin/env at the
standard location.
Signed-off-by: Joel Granados <joel.granados at kernel.org>
---
scripts/check-sysctl-docs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/check-sysctl-docs b/scripts/check-sysctl-docs
index 20274c63e7451a8722137e7077f4456f293f4e54..178dcf2888ffd21845e8464fc2595052c02ff4a3 100755
--- a/scripts/check-sysctl-docs
+++ b/scripts/check-sysctl-docs
@@ -1,4 +1,4 @@
-#!/usr/bin/gawk -f
+#!/usr/bin/env -S gawk -f
# SPDX-License-Identifier: GPL-2.0
# Script to check sysctl documentation against source files
--
2.47.2
More information about the linux-riscv
mailing list