Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] perl shebangs: Use /usr/bin/env, not /usr/bin/perl

From: Jeff King <hidden>
Date: 2016-06-15 22:48:50

On Fri, May 21, 2010 at 08:32:53AM -0700, Randal L. Schwartz wrote:
The official Perl should be in /usr/bin or /usr/local/bin, and that's
the one you should use with Git.  *Or*, give the installer a knob to
configure.
Don't we already provide a knob? The Makefile has:

  $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
  [...]
          sed -e '1{' \
              -e '        s|#!.*perl|#!$(PERL_PATH_SQ)|' \
  [...]

So just setting PERL_PATH should be enough (from which PERL_PATH_SQ is
derived).

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help