vgritsenko 01/07/12 07:19:05
Modified: bin ant
Log:
fix MacOS detection regexp
Revision Changes Path
1.5 +1 -1 xml-cocoon2/bin/ant
Index: ant
===================================================================
RCS file: /home/cvs/xml-cocoon2/bin/ant,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ant 2001/07/11 13:21:50 1.4
+++ ant 2001/07/12 14:18:59 1.5
@@ -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]