Thanks for taking the time to explain the problem in more detail.

On Wed, 2007-12-12 at 15:38 -0500, [EMAIL PROTECTED] wrote:
...
> Who tried using "dirname"?  That code cannot fix the issue because
> LENYA_HOME is not set to the absolute path.  Can we use this code?
> 
>    cd `dirname $0`
>    LENYA_HOME=`pwd -P`
> 
> Is the dirname program more generically available than the percent
> sign syntax for string manipulation?

Yeah, at least the SunOs POSIX problem will not occur.  

> 
> For the record, the rest of my original commit added a "stop" command
> line option and automatically shut down the Lenya instance from this
> directory before launching a new instance.  Lenya 2.0 should benefit
> from that code.

Yeah, I think so as well. Can you update the script?

I saw the test script on our zone server and would vote for the above
subscript solution
cd `dirname $0`
LENYA_HOME=`pwd -P`

Thanks Paul.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to