[Mono-bugs] [Bug 74221][Maj] New - macpack-generated bash script fails if app path or name has spaces in it

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 30 Mar 2005 03:50:25 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by edwardjsabol@iname.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74221

--- shadow/74221	2005-03-30 03:50:25.000000000 -0500
+++ shadow/74221.tmp.20085	2005-03-30 03:50:25.000000000 -0500
@@ -0,0 +1,31 @@
+Bug#: 74221
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: Mac OS X 10.3.4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Other.
+AssignedTo: grompf@sublimeintervention.com                            
+ReportedBy: edwardjsabol@iname.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: macpack-generated bash script fails if app path or name has spaces in it
+
+Double-clicking on apps created using macpack fails with no response if the path to the app has 
+a space somewhere in it. Ditto for the name of the app.
+
+The last two lines of the script created by macpack to launch MWF or Cocoa# apps needs to be 
+changed from
+
+cd $APP_PATH/Contents/Resources
+mono $APP_NAME
+
+to
+
+cd "$APP_PATH/Contents/Resources"
+mono "$APP_NAME"