[Monodevelop-patches-list] r2277 - trunk/MonoDevelop

John Luke <jluke@cfl.rr.com> jluke at mono-cvs.ximian.com
Mon Feb 28 14:20:58 EST 2005


Author: jluke
Date: 2005-02-28 14:20:57 -0500 (Mon, 28 Feb 2005)
New Revision: 2277

Modified:
   trunk/MonoDevelop/ChangeLog
   trunk/MonoDevelop/monodevelop.in
Log:
use /bin/sh and exec instead of running from bash


Modified: trunk/MonoDevelop/ChangeLog
===================================================================
--- trunk/MonoDevelop/ChangeLog	2005-02-26 22:48:41 UTC (rev 2276)
+++ trunk/MonoDevelop/ChangeLog	2005-02-28 19:20:57 UTC (rev 2277)
@@ -1,3 +1,8 @@
+2005-02-28  John Luke  <john.luke at gmail.com>
+
+	* monodevelop.in: use /bin/sh and exec instead
+	of running from bash
+
 2005-02-24  John Luke  <john.luke at gmail.com>
 
 	* configure.in: move JavaBinding to Extras

Modified: trunk/MonoDevelop/monodevelop.in
===================================================================
--- trunk/MonoDevelop/monodevelop.in	2005-02-26 22:48:41 UTC (rev 2276)
+++ trunk/MonoDevelop/monodevelop.in	2005-02-28 19:20:57 UTC (rev 2277)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 function reWrite {
     ret=""
@@ -50,19 +50,18 @@
 
 case x$1 in
 	x--profile)
-		@RUNTIME@ --profile ./MonoDevelop.exe $@
+		exec @RUNTIME@ --profile ./MonoDevelop.exe $@
 		exit 0
 		;;
 	x--debug)
-		@RUNTIME@ --debug ./MonoDevelop.exe $@
+		exec @RUNTIME@ --debug ./MonoDevelop.exe $@
 		exit 0
 		;;
 	x--trace)
-		@RUNTIME@ --trace ./MonoDevelop.exe $@
+		exec @RUNTIME@ --trace ./MonoDevelop.exe $@
 		exit 0;
 		;;
 esac
 
-# should not use --debug when we are more stable
- at RUNTIME@ ./MonoDevelop.exe $@
+exec @RUNTIME@ ./MonoDevelop.exe $@
 




More information about the Monodevelop-patches-list mailing list