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 Sun, 03 Dec 2000 01:54:35 GMT
donaldp     00/12/02 17:54:35

  Modified:    src/bin  ant
  Log:
  More adaptions of ant for cygwin.
  
  Submitted By: Peter Seibel <peter@javamonkey.com>
  
  Revision  Changes    Path
  1.9       +9 -2      jakarta-ant/src/bin/ant
  
  Index: ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/bin/ant,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ant	2000/12/02 22:09:35	1.8
  +++ ant	2000/12/03 01:54:34	1.9
  @@ -6,8 +6,15 @@
   
   # Cygwin support.
   if [ "$OSTYPE" == "cygwin32" ] || [ "$OSTYPE" = "cygwin" ]; then
  -  ANT_HOME=`cygpath --path --unix $ANT_HOME`
  -  JAVA_HOME=`cygpath --path --unix $JAVA_HOME`
  +
  +  if [ ! "$ANT_HOME" = "" ]; then
  +    ANT_HOME=`cygpath --path --unix $ANT_HOME`
  +  fi
  +
  +  if [ ! "$JAVA_HOME" = "" ]; then
  +    JAVA_HOME=`cygpath --path --unix $JAVA_HOME`
  +  fi
  +
   fi
   
   if [ "$ANT_HOME" = "" ] ; then
  
  
  

Mime
View raw message