vgritsenko 01/07/12 07:20:15
Modified: bin Tag: cocoon_20_branch ant
Log:
Fix MacOS detection regexp
Revision Changes Path
No revision
No revision
1.1.2.4 +1 -1 xml-cocoon2/bin/ant
Index: ant
===================================================================
RCS file: /home/cvs/xml-cocoon2/bin/ant,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- ant 2001/07/11 13:23:01 1.1.2.3
+++ ant 2001/07/12 14:20:11 1.1.2.4
@@ -104,7 +104,7 @@
LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
fi
-if [ $( expr $OSTYPE : '^[dD]arwin.*' ) > 0 ]; then
+if [ $( expr $OSTYPE : '[dD]arwin.*' ) > 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]