mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: David Reaver <me@davidreaver.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
	David Reaver <me@davidreaver.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scripts: get_feat.pl: use /usr/bin/env to find perl
Date: Thu, 30 Jun 2022 12:22:30 -0600	[thread overview]
Message-ID: <87h742nh95.fsf@meer.lwn.net> (raw)
In-Reply-To: <20220625211548.1200198-1-me@davidreaver.com>

David Reaver <me@davidreaver.com> writes:

> 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>
> ---
>  scripts/get_feat.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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

Applied, thanks.

jon

      reply	other threads:[~2022-06-30 18:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-25 21:15 David Reaver
2022-06-30 18:22 ` Jonathan Corbet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h742nh95.fsf@meer.lwn.net \
    --to=corbet@lwn.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=me@davidreaver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®