[GRASS-SVN] r48227 - grass/branches/develbranch_6/scripts/r.fillnulls

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 9 22:00:45 EDT 2011


Author: hamish
Date: 2011-09-09 19:00:45 -0700 (Fri, 09 Sep 2011)
New Revision: 48227

Modified:
   grass/branches/develbranch_6/scripts/r.fillnulls/r.fillnulls
Log:
quote input file name so it doesn't get mistaken for a number or expression

Modified: grass/branches/develbranch_6/scripts/r.fillnulls/r.fillnulls
===================================================================
--- grass/branches/develbranch_6/scripts/r.fillnulls/r.fillnulls	2011-09-09 22:48:15 UTC (rev 48226)
+++ grass/branches/develbranch_6/scripts/r.fillnulls/r.fillnulls	2011-09-10 02:00:45 UTC (rev 48227)
@@ -134,7 +134,7 @@
 
 g.message "Locating and isolating NULL areas..."
 #creating 0/1 map:
-r.mapcalc "$TMP1 = if(isnull($GIS_OPT_INPUT),1,null())"
+r.mapcalc "$TMP1 = if(isnull(\"$GIS_OPT_INPUT\"),1,null())"
 
 #generate a ring:
 # the buffer is set to three times the map resolution so you get nominally



More information about the grass-commit mailing list