Here is a small patch to the Phoenix src/script/run.sh so it will work for cygwin
shells.


--
Shawn Boyce
QCOM, Inc. Quality Software is Our Business
http://www.qcominc.com


Index: run.sh
===================================================================
RCS file: /home/cvspublic/jakarta-avalon-phoenix/src/script/run.sh,v
retrieving revision 1.5
diff -u -r1.5 run.sh
--- run.sh      26 Feb 2002 09:18:02 -0000      1.5
+++ run.sh      22 Mar 2002 18:35:09 -0000
@@ -27,6 +27,11 @@
 
 if [ "$THIS_PROG" = "." ] ; then
   THIS_PROG=$PWD
+
+  ## convert cygwin path so Java will recognize it
+  if [ $OSTYPE = "cygwin32" ] || [ $OSTYPE = "cygwin" ] ; then
+    THIS_PROG=`cygpath -p -w $THIS_PROG`
+  fi
 fi
 
 if [ "$PHOENIX_HOME" = "" ] ; then

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to