[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: subversion/subversion/libsvn_subr svn_string.c

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-04-10 10:41:41 CEST

On Mon, Apr 09, 2001 at 10:22:12PM -0500, Lee Burgess wrote:
> B. W. Fitzpatrick writes:
> >
> > The python tutorial says:
> >
> > (http://mvl.mit.edu/VRUT/python/tut/scripts.html)

Where the hell did that URL come from? oy. The official/current URL is:

    http://www.python.org/doc/current/tut/tut.html

>...
> > #!/usr/bin/env python
> >
> > (assuming that the interpreter is on the user's $PATH) at the

That $PATH is the key. We should use the "env" trick, but also recognize
that it isn't a "perfect" solution (I've had "env" break when running
scripts in a CGI environment). Ideally, configure would search all
reasonable locations or ask the user to tell it the right location, and then
subst that into all the scripts. But that is just too much work for too
little gain.

So yah... all of our Python scripts should just use "env" until somebody
wants to take the pain.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:28 2006

This is an archived mail posted to the Subversion Dev mailing list.