[GRASS-SVN] r56716 - grass/branches/releasebranch_6_4/raster/r.li/r.li.setup

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 15 03:31:36 PDT 2013


Author: hamish
Date: 2013-06-15 03:31:36 -0700 (Sat, 15 Jun 2013)
New Revision: 56716

Modified:
   grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/circle.txt
   grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/masked_area_selection
   grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/polygon.txt
Log:
fix some low-hanging bugs (merge from devbr6)

Modified: grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/circle.txt
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/circle.txt	2013-06-15 10:28:41 UTC (rev 56715)
+++ grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/circle.txt	2013-06-15 10:31:36 UTC (rev 56716)
@@ -2,4 +2,4 @@
 1
 mask
 y
-Q
+X

Modified: grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/masked_area_selection
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/masked_area_selection	2013-06-15 10:28:41 UTC (rev 56715)
+++ grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/masked_area_selection	2013-06-15 10:31:36 UTC (rev 56716)
@@ -107,13 +107,11 @@
 #let draw area
 if [ $GIS_FLAG_c -eq 1 ] ; then
     cp $f_path/circle.txt $$.txt 
-    echo "$$" >> $$.txt 
 else
     cp $f_path/polygon.txt  $$.txt 
-    echo "$$" >> $$.txt
 fi
  
-r.digit < $$.txt
+r.digit output="$$" < "$$.txt"
 
 #show the selected area
 d.rast -o map=$$ 

Modified: grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/polygon.txt
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/polygon.txt	2013-06-15 10:28:41 UTC (rev 56715)
+++ grass/branches/releasebranch_6_4/raster/r.li/r.li.setup/polygon.txt	2013-06-15 10:31:36 UTC (rev 56716)
@@ -2,4 +2,4 @@
 1
 mask
 y
-Q
+X



More information about the grass-commit mailing list