[GRASS-SVN] r40716 - grass/branches/releasebranch_6_4/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 27 20:40:45 EST 2010


Author: neteler
Date: 2010-01-27 20:40:44 -0500 (Wed, 27 Jan 2010)
New Revision: 40716

Modified:
   grass/branches/releasebranch_6_4/lib/gis/parser.c
Log:
glynn: Quote  (backport from dev65, r40713)

Modified: grass/branches/releasebranch_6_4/lib/gis/parser.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/parser.c	2010-01-28 01:35:24 UTC (rev 40715)
+++ grass/branches/releasebranch_6_4/lib/gis/parser.c	2010-01-28 01:40:44 UTC (rev 40716)
@@ -578,7 +578,7 @@
 	    _("A single vector map can be connected to multiple database "
 	      "tables. This number determines which table to use.");
 	Opt->gisprompt = "old_layer,layer,layer";
-	
+
 	break;
     case G_OPT_V_CAT:
 	Opt->key = "cat";
@@ -1955,14 +1955,14 @@
 
 #ifdef __MINGW32__
     if (getenv("GRASS_DEBUG_GUI"))
-	fp = G_popen("tee gui_dump.tcl | %GRASS_WISH%", "w");
+	fp = G_popen("tee gui_dump.tcl | \"%GRASS_WISH%\"", "w");
     else
-	fp = G_popen("%GRASS_WISH%", "w");
+	fp = G_popen("\"%GRASS_WISH%\"", "w");
 #else
     if (getenv("GRASS_DEBUG_GUI"))
-	fp = G_popen("tee gui_dump.tcl | $GRASS_WISH", "w");
+	fp = G_popen("tee gui_dump.tcl | '$GRASS_WISH'", "w");
     else
-	fp = G_popen("$GRASS_WISH", "w");
+	fp = G_popen("'$GRASS_WISH'", "w");
 #endif
 
     if (!fp)
@@ -1993,7 +1993,7 @@
 }
 
 /**
-   \brief Invoke GUI dialog 
+   \brief Invoke GUI dialog
 
    Use G_gui_wx() or G_gui_tcltk() to generate GUI dialog.
 



More information about the grass-commit mailing list