summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Reaver <me@davidreaver.com>2022-06-25 14:15:48 -0700
committerJonathan Corbet <corbet@lwn.net>2022-06-30 12:22:17 -0600
commit2bc6430884d5ee0e30ae18652d31f821d8e9ec32 (patch)
tree74237629e5c936039ffbb06ecec4ad4159e9fe97 /scripts
parentee5956bb9ce637d7743b93ce6749cac883339e67 (diff)
scripts: get_feat.pl: use /usr/bin/env to find perl
I tried running `make pdfdocs` on NixOS, but it failed because get_feat.pl uses a shebang line with /usr/bin/perl, and that file path doesn't exist on NixOS. Using the more portable /usr/bin/env perl fixes the problem. Signed-off-by: David Reaver <me@davidreaver.com> Link: https://lore.kernel.org/r/20220625211548.1200198-1-me@davidreaver.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get_feat.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_feat.pl b/scripts/get_feat.pl
index 76cfb96b59b6..5c5397eeb237 100755
--- a/scripts/get_feat.pl
+++ b/scripts/get_feat.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0
use strict;