]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
docs: nixify check-sysctl-docs
authorJoel Granados <joel.granados@kernel.org>
Tue, 1 Jul 2025 07:51:57 +0000 (09:51 +0200)
committerJoel Granados <joel.granados@kernel.org>
Wed, 23 Jul 2025 09:57:05 +0000 (11:57 +0200)
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@kernel.org>
scripts/check-sysctl-docs

index 20274c63e7451a8722137e7077f4456f293f4e54..178dcf2888ffd21845e8464fc2595052c02ff4a3 100755 (executable)
@@ -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