anjuta r3929 - in branches/anjuta-2-4: . plugins/build-basic-autotools



Author: sgranjoux
Date: Tue May 13 16:30:24 2008
New Revision: 3929
URL: http://svn.gnome.org/viewvc/anjuta?rev=3929&view=rev

Log:
	* plugins/build-basic-autotools/executer.c:
	Fix #532243 Execute Program with whitespace in the project path fails


Modified:
   branches/anjuta-2-4/ChangeLog
   branches/anjuta-2-4/plugins/build-basic-autotools/executer.c

Modified: branches/anjuta-2-4/plugins/build-basic-autotools/executer.c
==============================================================================
--- branches/anjuta-2-4/plugins/build-basic-autotools/executer.c	(original)
+++ branches/anjuta-2-4/plugins/build-basic-autotools/executer.c	Tue May 13 16:30:24 2008
@@ -368,9 +368,9 @@
 	
 	
 	if (args && strlen (args) > 0)
-		cmd = g_strconcat (target, " ", args, NULL);
+		cmd = g_strconcat ("\"",target, "\" ", args, NULL);
 	else
-		cmd = g_strdup (target);
+		cmd = g_strconcat ("\"", target, "\"", NULL);
 
 	if (anjuta_preferences_get_int (prefs , PREF_USE_SB))
 	{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]