ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@locus.apache.org
Subject cvs commit: jakarta-ant/src/bin ant
Date Sat, 02 Dec 2000 22:09:37 GMT
donaldp     00/12/02 14:09:36

  Modified:    src/bin  ant
  Log:
  Hopefully fixed cygwin stuff...
  
  Revision  Changes    Path
  1.8       +5 -5      jakarta-ant/src/bin/ant
  
  Index: ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/bin/ant,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ant	2000/12/02 19:44:30	1.7
  +++ ant	2000/12/02 22:09:35	1.8
  @@ -5,9 +5,9 @@
   fi
   
   # Cygwin support.
  -if [ "$OSTYPE" == 'cygwin32' ]; then
  -  ANT_HOME=`cygpath -u $ANT_HOME`
  -  JAVA_HOME=`cygpath -u $JAVA_HOME`
  +if [ "$OSTYPE" == "cygwin32" ] || [ "$OSTYPE" = "cygwin" ]; then
  +  ANT_HOME=`cygpath --path --unix $ANT_HOME`
  +  JAVA_HOME=`cygpath --path --unix $JAVA_HOME`
   fi
   
   if [ "$ANT_HOME" = "" ] ; then
  @@ -74,8 +74,8 @@
   fi
   
   # More Cygwin support
  -if [ "$OSTYPE" == 'cygwin32' ]; then
  -  LOCALCLASSPATH=`cygpath -p -w "$LOCALCLASSPATH"`
  +if [ "$OSTYPE" == "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
  +  LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
   fi
   
   $JAVACMD -classpath $LOCALCLASSPATH -Dant.home=${ANT_HOME} $ANT_OPTS org.apache.tools.ant.Main
$@
  
  
  

Mime
View raw message