[GRASS-SVN] r38733 - grass/branches/develbranch_6/raster/r.topmodel

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 14 23:14:04 EDT 2009


Author: hamish
Date: 2009-08-14 23:14:03 -0400 (Fri, 14 Aug 2009)
New Revision: 38733

Modified:
   grass/branches/develbranch_6/raster/r.topmodel/misc.c
Log:
use option instead of redirect

Modified: grass/branches/develbranch_6/raster/r.topmodel/misc.c
===================================================================
--- grass/branches/develbranch_6/raster/r.topmodel/misc.c	2009-08-15 02:44:58 UTC (rev 38732)
+++ grass/branches/develbranch_6/raster/r.topmodel/misc.c	2009-08-15 03:14:03 UTC (rev 38733)
@@ -88,7 +88,7 @@
     }
 
     if (map.topidx) {
-	sprintf(buf, "r.stats -Anc input=%s nsteps=%d > %s",
+	sprintf(buf, "r.stats -Anc input=%s nsteps=%d output=\"%s\"",
 		map.topidx, misc.nidxclass, file.idxstats);
 	G_message("%s ...", buf);
 



More information about the grass-commit mailing list