scripts: get_feat.pl: use /usr/bin/env to find perl
authorDavid Reaver <me@davidreaver.com>
Sat, 25 Jun 2022 21:15:48 +0000 (14:15 -0700)
committerJonathan Corbet <corbet@lwn.net>
Thu, 30 Jun 2022 18:22:17 +0000 (12:22 -0600)
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>
scripts/get_feat.pl

index 76cfb96..5c5397e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # SPDX-License-Identifier: GPL-2.0
 
 use strict;