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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 18 05:43:53 EST 2010


Author: hamish
Date: 2010-02-18 05:43:52 -0500 (Thu, 18 Feb 2010)
New Revision: 41078

Modified:
   grass/branches/releasebranch_6_4/lib/gis/parser.c
Log:
Glynn: Fix quoting bug (backport from trunk r40724)

Modified: grass/branches/releasebranch_6_4/lib/gis/parser.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/parser.c	2010-02-18 09:44:07 UTC (rev 41077)
+++ grass/branches/releasebranch_6_4/lib/gis/parser.c	2010-02-18 10:43:52 UTC (rev 41078)
@@ -1960,9 +1960,9 @@
 	fp = popen("\"%GRASS_WISH%\"", "w");
 #else
     if (getenv("GRASS_DEBUG_GUI"))
-	fp = popen("tee gui_dump.tcl | '$GRASS_WISH'", "w");
+	fp = popen("tee gui_dump.tcl | \"$GRASS_WISH\"", "w");
     else
-	fp = popen("'$GRASS_WISH'", "w");
+	fp = popen("\"$GRASS_WISH\"", "w");
 #endif
 
     if (!fp)



More information about the grass-commit mailing list