tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: Tips on running tomcat on cygwin (windows)
Date Sat, 14 Oct 2000 22:15:19 GMT
on 10/14/2000 2:46 PM, "Adison H" <adison@vergenet.com> wrote:

> if [ "$OSTYPE" = "cygwin32" ] ; then
> CP=`cygpath --path --windows "$CP"`
> fi

FYI:

On my box (Win98), OSTYPE outputs "cygwin" so the above fails.

I changed it to be:

if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
CP=`cygpath --path --windows "$CP"`
fi

and that works, but the problem is that the cygpath doesn't seem to do a
good job of fixing the path characters so the problem still exists.

I'm using the "latest" cygwin tree as of about a week ago, so maybe that is
the problem. I don't know.

-jon

-- 
http://scarab.tigris.org/    | http://noodle.tigris.org/
http://java.apache.org/      | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/       | http://www.sourcexchange.com/



Mime
View raw message