[GRASS-SVN] r43023 - grass/branches/develbranch_6/scripts/r.mask

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 9 12:29:21 EDT 2010


Author: marisn
Date: 2010-08-09 16:29:21 +0000 (Mon, 09 Aug 2010)
New Revision: 43023

Modified:
   grass/branches/develbranch_6/scripts/r.mask/r.mask
Log:
Allow r.mask to work in GISDBASE with spaces in path

Modified: grass/branches/develbranch_6/scripts/r.mask/r.mask
===================================================================
--- grass/branches/develbranch_6/scripts/r.mask/r.mask	2010-08-09 15:06:00 UTC (rev 43022)
+++ grass/branches/develbranch_6/scripts/r.mask/r.mask	2010-08-09 16:29:21 UTC (rev 43023)
@@ -94,7 +94,7 @@
 
 
 if [ "$GIS_FLAG_R" -eq 1 ]; then
-	if test -f `g.gisenv GISDBASE`/`g.gisenv LOCATION_NAME`/`g.gisenv MAPSET`/cell/MASK ; then
+	if test -f "`g.gisenv GISDBASE`/`g.gisenv LOCATION_NAME`/`g.gisenv MAPSET`/cell/MASK" ; then
  		g.remove rast=MASK
  		g.message ${BEQUIET} "Raster MASK removed"
  	else



More information about the grass-commit mailing list