bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Explicit interpreter paths considered harmful


From: Ludovic Courtès
Subject: Re: Explicit interpreter paths considered harmful
Date: Fri, 30 Oct 2009 16:47:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi,

Jim Meyering <address@hidden> writes:

> From f8a4d66d651f505d0cd349a7c0be025f1b2e12d0 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <address@hidden>
> Date: Fri, 30 Oct 2009 15:02:02 +0100
> Subject: [PATCH] gitlog-to-changelog: remove #!/usr/bin/perl in favor of more 
> portable...
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Rather than putting #!/usr/bin/perl on the first line,
> start with a variant of what's recommended by "man perlrun" that
> invokes the first "perl" program from your shell's search path.
> * build-aux/gitlog-to-changelog: Replace #!... as above.
> Add a "Local Variables" perl mode setting.
> Prompted by a patch from Ludovic Courtès.
> Improved by Eric Blake.

Works like a charm on NixOS, both with ./gitlog-to-changelog and “perl
gitlog-to-changelog”, thanks!

> ---
>  ChangeLog                     |   11 +++++++++++
>  build-aux/gitlog-to-changelog |    7 +++++--
>  2 files changed, 16 insertions(+), 2 deletions(-)

While you’re at it, can you update the other scripts under ‘build-aux’
that use /usr/bin/perl?

Thanks,
Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]