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

Re: git-instaweb portability issue (maybe?)

From
Asheesh Laroia <asheesh@asheesh.org>
Date
Jun 13, 2008, 13:46 UTC
Message-ID
<alpine.DEB.1.10.0806130946060.8043@alchemy.localdomain>
In-Reply-To
<6dbd4d000806130638k4461a41eo8ce6fe803505fa88@mail.gmail.com>
On Fri, 13 Jun 2008, Denis Bueno wrote:
Show 18 quoted lines
> On Fri, Jun 13, 2008 at 09:26, Denis Bueno <dbueno@gmail.com> wrote:
>> That line simply calls perl by the $PERL variable, which is set at the
>> top of the script, like so:
>>
>>    PERL='/usr/bin/env perl'
>>
>> If I change this line to point to my perl directly, it works.  On a
>> hunch, I changed it to:
>>
>>    PERL="/usr/bin/env perl"  # note the double-quotes
>
> [snip lies]
>
> Apparently I didn't test this thoroughly enough, and I was wrong.
> Changing the quotes has no effect.
>
> So git-instaweb only works for me if I manually specify my perl path.
> Can anyone think of why this might be?
Does OS X ship /usr/bin/env?
If you type "/usr/bin/env perl" in a Terminal window, do you get Perl?
-- Asheesh.
-- 
Hark ye, Clinker, you are a most notorious offender.  You stand convicted of
sickness, hunger, wretchedness, and want.
 		-- Tobias Smollet
Previous: Denis BuenoNext: Denis Bueno
Message 3 of 14 in “git-instaweb portability issue (maybe?)”
  1. Denis BuenoJun 13, 2008
  2. Denis BuenoJun 13, 2008
  3. Asheesh LaroiaJun 13, 2008
  4. Denis BuenoJun 13, 2008
  5. Chris RiddJun 13, 2008
  6. Asheesh LaroiaJun 13, 2008
  7. Chris RiddJun 13, 2008
  8. Denis BuenoJun 13, 2008
  9. Luciano RochaJun 13, 2008
  10. Denis BuenoJun 13, 2008
  11. Luciano RochaJun 13, 2008
  12. Jakub NarebskiJun 13, 2008
  13. Luciano RochaJun 13, 2008
  14. Jakub NarebskiJun 13, 2008

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.