[GRASS-SVN] r43527 - grass/branches/develbranch_6/display/d.mon/cmd

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 19 20:23:33 EDT 2010


Author: hamish
Date: 2010-09-20 00:23:33 +0000 (Mon, 20 Sep 2010)
New Revision: 43527

Modified:
   grass/branches/develbranch_6/display/d.mon/cmd/main.c
Log:
nlock= opt adds a flag so only quote GISBASE (reapply r38736)

Modified: grass/branches/develbranch_6/display/d.mon/cmd/main.c
===================================================================
--- grass/branches/develbranch_6/display/d.mon/cmd/main.c	2010-09-20 00:19:50 UTC (rev 43526)
+++ grass/branches/develbranch_6/display/d.mon/cmd/main.c	2010-09-20 00:23:33 UTC (rev 43527)
@@ -153,7 +153,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