[Monodevelop-patches-list] r1704 - trunk/MonoDevelop
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon Jun 7 18:46:10 EDT 2004
Author: jluke
Date: 2004-06-07 18:46:10 -0400 (Mon, 07 Jun 2004)
New Revision: 1704
Modified:
trunk/MonoDevelop/ChangeLog
trunk/MonoDevelop/monodevelop.in
Log:
support relative files
Modified: trunk/MonoDevelop/ChangeLog
===================================================================
--- trunk/MonoDevelop/ChangeLog 2004-06-07 20:56:00 UTC (rev 1703)
+++ trunk/MonoDevelop/ChangeLog 2004-06-07 22:46:10 UTC (rev 1704)
@@ -1,3 +1,8 @@
+2004-06-07 John Luke <jluke at cfl.rr.com>
+
+ * monodevelop.in: patch from Michael Levy <mlevy at wardium.homeip.net>
+ to handle relative files in the command line.
+
2004-06-02 Martin Willemoes Hansen <mwh at sysrq.dk>
* AUTHORS: Added Atsushi, Martin, Antonio, Andre & Maurício who
Modified: trunk/MonoDevelop/monodevelop.in
===================================================================
--- trunk/MonoDevelop/monodevelop.in 2004-06-07 20:56:00 UTC (rev 1703)
+++ trunk/MonoDevelop/monodevelop.in 2004-06-07 22:46:10 UTC (rev 1704)
@@ -1,5 +1,21 @@
#!/bin/bash
+function reWrite {
+ ret=""
+ WD=`pwd`
+ for arg in $*
+ do
+ if [ -f ./$arg ]
+ then
+ ret="$ret $WD/$arg"
+ else
+ ret="$ret $arg"
+ fi
+ done
+
+ echo "$ret"
+}
+
if test -n "$MOZILLA_FIVE_HOME"; then
MOZILLA_HOME=$MOZILLA_FIVE_HOME
elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
@@ -21,6 +37,9 @@
export MOZILLA_FIVE_HOME=$MOZILLA_HOME
+ARGS=`reWrite "$@"`
+set -- $ARGS
+
cd $MD_BIN_PATH
case x$1 in
More information about the Monodevelop-patches-list
mailing list