vgritsenko 01/07/12 10:46:24
Modified: bin Tag: cocoon_20_branch ant
Log:
Fix MacOS detection
Revision Changes Path
No revision
No revision
1.1.2.5 +1 -1 xml-cocoon2/bin/ant
Index: ant
===================================================================
RCS file: /home/cvs/xml-cocoon2/bin/ant,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- ant 2001/07/12 14:20:11 1.1.2.4
+++ ant 2001/07/12 17:46:17 1.1.2.5
@@ -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]