[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: Lee Burgess <lefty_at_red-bean.com>
Date: 2001-04-10 05:00:52 CEST

Quick question:

Ben has committed a very basic Python script to serve as the basis for
the commandline client test suite. (Thanks Ben! I have little time
or mind to hack since I'm moving to California in two weeks.)

Anyway, I tried to run the script and immediately discovered that the
shebang line was #!/usr/local/bin/python, which does not exist on my
system. I have /usr/bin/python.

So the question is how to rectify this.

One way is to have autogen.sh or configure determine where python is
and modify the shebang line of the script accordingly.

Another way that just occured to me is to just invoke the test script
with python like so:

$ python ./client_test.py

Autogen.sh or configure could then just make sure python in in the
user's PATH.

Is there a conventional or right way to deal with this that I am
missing, or have I already hit on it?

Thanks.

-- 
Lee P. W. Burgess  <<!>>  Manipulate eternity. Power is a symphony:
Programmer         <<!>>  elaborate, enormous, essential.
Red Bean Software  <<!>>  Dream the moment with a fiddle in summer 
lefty@red-bean.com <<!>>  and a knife in winter.
Received on Sat Oct 21 14:36:28 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.