[GRASS-SVN] r58908 - grass/branches/develbranch_6/raster/r.li/r.li.setup

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 6 14:06:42 PST 2014


Author: hamish
Date: 2014-02-06 14:06:42 -0800 (Thu, 06 Feb 2014)
New Revision: 58908

Modified:
   grass/branches/develbranch_6/raster/r.li/r.li.setup/masked_area_selection.sh
   grass/branches/develbranch_6/raster/r.li/r.li.setup/square_mouse_selection.sh
Log:
fix temp file name

Modified: grass/branches/develbranch_6/raster/r.li/r.li.setup/masked_area_selection.sh
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.setup/masked_area_selection.sh	2014-02-06 21:24:16 UTC (rev 58907)
+++ grass/branches/develbranch_6/raster/r.li/r.li.setup/masked_area_selection.sh	2014-02-06 22:06:42 UTC (rev 58908)
@@ -165,11 +165,11 @@
 name="$TMP.val"
 export name
 
-# ask if it's ok, save 0,1 to "$name.val" temp file
+# ask if it's ok, save 0,1 to "$name" temp file
 "$GRASS_WISH" "$f_path/area_query"
 
-ok=`cat "$name.val" | cut -f1 -d ' '`
-r_name=`cat "$name.val" | cut -f2 -d' '`
+ok=`cat "$name" | cut -f1 -d ' '`
+r_name=`cat "$name" | cut -f2 -d' '`
 
 
 if [ "$ok" -eq 1 ] ; then

Modified: grass/branches/develbranch_6/raster/r.li/r.li.setup/square_mouse_selection.sh
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.setup/square_mouse_selection.sh	2014-02-06 21:24:16 UTC (rev 58907)
+++ grass/branches/develbranch_6/raster/r.li/r.li.setup/square_mouse_selection.sh	2014-02-06 22:06:42 UTC (rev 58908)
@@ -160,7 +160,7 @@
 
 
 # ask if the selected area is right
-name="$TMP"  # temp file where the answer is written to by the tcl pop-up
+name="$TMP.var"  # temp file where the answer is written to by the tcl pop-up
 export name
 
 # ask if it's ok, save 0,1 to the "$name" tmp file



More information about the grass-commit mailing list