Hopefully this works for everyone...
But we should give it a try :)

I removed '^' and fixed the return code check.

Can someone please apply the patch?
Thanks
--
Torsten
Index: bin/ant
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/bin/ant,v
retrieving revision 1.4
diff -u -r1.4 ant
--- bin/ant     2001/07/11 13:21:50     1.4
+++ bin/ant     2001/07/12 13:55:19
@@ -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 "$@"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to