From: Geert J. <gj...@us...> - 2002-08-17 11:42:55
|
Update of /cvsroot/woc/woc/bin/wml2html In directory usw-pr-cvs1:/tmp/cvs-serv16597 Modified Files: insert-item.in Log Message: support for cygwin added Index: insert-item.in =================================================================== RCS file: /cvsroot/woc/woc/bin/wml2html/insert-item.in,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** insert-item.in 15 Aug 2002 15:16:23 -0000 1.2 --- insert-item.in 17 Aug 2002 11:42:51 -0000 1.3 *************** *** 24,26 **** --- 24,33 ---- OPTIONS="-r woc -R ${prefix}/bin/wml2html/repository_def.xml" + # convert the unix path to windows + if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] + || [ "$OSTYPE" = "posix" ] ; then + JARS=`cygpath --path --windows "$JARS"` + OPTIONS=`cygpath --path --windows "$OPTIONS"` + fi + ${JAVA} -cp ${JARS} com.egonw.woc.tools.SimpleAddItem ${OPTIONS} $1 |