[GRASS-SVN] r43529 - grass/branches/releasebranch_6_4/display/d.mon/cmd

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 19 20:27:21 EDT 2010


Author: hamish
Date: 2010-09-20 00:27:21 +0000 (Mon, 20 Sep 2010)
New Revision: 43529

Modified:
   grass/branches/releasebranch_6_4/display/d.mon/cmd/main.c
Log:
unlock= opt adds a flag so only quote GISBASE (apply r38736 from devbr6)

Modified: grass/branches/releasebranch_6_4/display/d.mon/cmd/main.c
===================================================================
--- grass/branches/releasebranch_6_4/display/d.mon/cmd/main.c	2010-09-20 00:25:42 UTC (rev 43528)
+++ grass/branches/releasebranch_6_4/display/d.mon/cmd/main.c	2010-09-20 00:27:21 UTC (rev 43529)
@@ -152,7 +152,7 @@
 {
     char command[1024];
 
-    sprintf(command, "\"%s/etc/mon.%s\" %s", G_gisbase(), pgm, name);
+    sprintf(command, "\"%s\"/etc/mon.%s %s", G_gisbase(), pgm, name);
 
     G_debug(1, "run: [%s]", command);
 



More information about the grass-commit mailing list