You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Ceki Gülcü <cg...@qos.ch> on 2001/04/19 18:36:28 UTC

[PATCH] */build.sh

Hi,

I found that adding the following lines to the different build.sh files contained in the jakarta-tomcat-4.0 CVS module makes the build.sh files cygwin friendly. 

# Here to show context
if [ "$CLASSPATH" != "" ] ; then
  CP=$CLASSPATH:$CP
fi

# To be added:
if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
  CP=`cygpath --path --windows "$CP"`
fi

That's it. Ceki Gülcü