git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Try 2: Allow PERL_PATH="/usr/bin/env perl"

From
Andrew Ruder <andy@aeruder.net>
Date
May 4, 2007, 00:03 UTC
Message-ID
<20070504000339.GA2476@localdomain>
In-Reply-To
<7vfy6dzf25.fsf@assigned-by-dhcp.cox.net>
On Thu, May 03, 2007 at 04:02:26PM -0700, Junio C Hamano wrote:
> I do not get this whole business.  Why would you even want to
> support that to begin with?

The biggest problem being that on macs it is typical to have two copies of perl installed (/usr/bin/perl and /opt/local/bin/perl with DarwinPorts or otherwise). It'd be nice to have a way to tell git makefiles to put #!/usr/bin/env perl at the top so it just pulls what is first in the path rather than having to hardcode it to either /opt/local/bin/perl or /usr/bin/perl.

Say you are packaging a mac os x package of git. Now for the user to run something like git-svn they'd need the svn bindings obviously, but of course, some people install them against their system perl, lots of people install them against their darwinports or otherwise, and it'd be really nice to just have those various perl scripts use whatever the person has set up (going by what they have first in their path).

- Andy
-- 
Andrew Ruder <andy@aeruder.net>
http://www.aeruder.net
Previous: Bryan Larsen
Message 6 of 6 in “Try 2: Allow PERL_PATH="/usr/bin/env perl"”
  1. Try 2: Allow PERL_PATH="/usr/bin/env perl"Bryan Larsen, May 3, 2007
  2. Junio C HamanoMay 3, 2007
  3. Bryan LarsenMay 3, 2007
  4. Junio C HamanoMay 4, 2007
  5. Bryan LarsenMay 4, 2007
  6. Andrew RuderMay 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.