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

Re: git-instaweb portability issue (maybe?)

From: Asheesh Laroia <hidden>
Date: 2016-06-15 22:44:44

On Fri, 13 Jun 2008, Denis Bueno wrote:
On Fri, Jun 13, 2008 at 09:26, Denis Bueno [off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help