Hi, Jim Meyering <j...@meyering.net> writes:
> From f8a4d66d651f505d0cd349a7c0be025f1b2e12d0 Mon Sep 17 00:00:00 2001 > From: Jim Meyering <meyer...@redhat.com> > 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’.