[Monodevelop-patches-list] r427 - trunk/MonoDevelop
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sat Jan 10 17:32:24 EST 2004
Author: jluke
Date: 2004-01-10 17:32:24 -0500 (Sat, 10 Jan 2004)
New Revision: 427
Added:
trunk/MonoDevelop/monodevelop
Log:
add wrapper script to run SharpDevelop.exe
and attempts to set the needed Moz variables
Added: trunk/MonoDevelop/monodevelop
===================================================================
--- trunk/MonoDevelop/monodevelop 2004-01-10 22:16:31 UTC (rev 426)
+++ trunk/MonoDevelop/monodevelop 2004-01-10 22:32:24 UTC (rev 427)
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+if test -n "$MOZILLA_FIVE_HOME"; then
+ MOZILLA_HOME=$MOZILLA_FIVE_HOME
+elif [ -f /usr/lib/mozilla/chrome/comm.jar ]; then
+ MOZILLA_HOME=/usr/lib/mozilla
+else
+ echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
+ exit
+fi
+
+LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH
+
+MOZILLA_FIVE_HOME=$MOZILLA_HOME
+export MOZILLA_FIVE_HOME
+
+cd build/bin
+mono --debug ./SharpDevelop.exe $@
Property changes on: trunk/MonoDevelop/monodevelop
___________________________________________________________________
Name: svn:executable
+ *
More information about the Monodevelop-patches-list
mailing list