[GRASS-dev] Re: [GRASS-SVN] r40713 - grass/branches/develbranch_6/lib/gis

Markus Neteler neteler at osgeo.org
Wed Jan 27 20:39:20 EST 2010


While backporting below, I found this unported change 6.5 -> 6.4:

@@ -1989,7 +1998,7 @@

     sprintf(script, "%s/etc/wxpython/gui_modules/menuform.py",
 	    getenv("GISBASE"));
-    G_spawn(getenv("GRASS_PYTHON"), "menuform.py", script, pgm_name, NULL);
+    G_spawn(getenv("GRASS_PYTHON"), getenv("GRASS_PYTHON"), script,
pgm_name, NULL);
 }

Also backport?

Markus

On Thu, Jan 28, 2010 at 1:23 AM,  <svn_grass at osgeo.org> wrote:
> Author: glynn
> Date: 2010-01-27 19:23:21 -0500 (Wed, 27 Jan 2010)
> New Revision: 40713
>
> Modified:
>   grass/branches/develbranch_6/lib/gis/parser.c
> Log:
> Quote $GRASS_WISH
>
>
> Modified: grass/branches/develbranch_6/lib/gis/parser.c
> ===================================================================
> --- grass/branches/develbranch_6/lib/gis/parser.c       2010-01-28 00:22:02 UTC (rev 40712)
> +++ grass/branches/develbranch_6/lib/gis/parser.c       2010-01-28 00:23:21 UTC (rev 40713)
> @@ -1964,14 +1964,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)
>
> _______________________________________________
> grass-commit mailing list
> grass-commit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-commit
>


More information about the grass-dev mailing list