aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/check-sysctl-docs
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2025-07-01 09:51:57 +0200
committerJoel Granados <joel.granados@kernel.org>2025-07-23 11:57:05 +0200
commit89b491bcf2d19516dd19b1f7a8872394a58b591b (patch)
tree410e8dace4e8aeed9a6607eb7ccf710096dfa2d4 /scripts/check-sysctl-docs
parent73184c8e4ff447b866dac13fc4f1a4079c78a69d (diff)
downloadlinux-89b491bcf2d19516dd19b1f7a8872394a58b591b.tar.gz
docs: nixify check-sysctl-docs
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>
Diffstat (limited to 'scripts/check-sysctl-docs')
-rwxr-xr-xscripts/check-sysctl-docs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-sysctl-docs b/scripts/check-sysctl-docs
index 20274c63e7451a..178dcf2888ffd2 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