vgritsenko    01/07/12 10:48:24

  Modified:    bin      ant
  Log:
  Fix MacOS detection
  
  Revision  Changes    Path
  1.6       +1 -1      xml-cocoon2/bin/ant
  
  Index: ant
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/bin/ant,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ant       2001/07/12 14:18:59     1.5
  +++ ant       2001/07/12 17:48:18     1.6
  @@ -104,7 +104,7 @@
     LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
   fi
   
  -if [ $( expr $OSTYPE : '[dD]arwin.*' ) > 0 ]; then
  +if [ $( expr $OSTYPE : '[dD]arwin.*' ) -gt 0 ]; then
        $JAVACMD -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS 
org.apache.tools.ant.Main "$@"
   else
        $JAVACMD -classic -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" 
$ANT_OPTS org.apache.tools.ant.Main "$@"
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to