forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject [patch] Re: forrestbot FORREST_HOME problem
Date Thu, 28 Nov 2002 11:06:30 GMT
On Thu, 2002-11-28 at 11:33, Stefan Bodewig wrote:
> On 28 Nov 2002, Bruno Dumon <bruno@outerthought.org> wrote:
> 
> > Anyhow, does anybody know a trick that will always return the full
> > path of the script, regardless of the location from where it's
> > executed and wheter it is in the PATH or not?
> 
> Look into Ant's ant script - it also handles the case where the script
> is invoked via (several levels of) symlinks.
> 

It works, thanks for the hint!

I have attached a patch for the forrestbot script, and did the same for
the forrest script.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org

Mime
View raw message