[GRASS-SVN] r51452 - grass/branches/releasebranch_6_4/scripts/r.mask

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 16 16:31:02 EDT 2012


Author: neteler
Date: 2012-04-16 13:31:01 -0700 (Mon, 16 Apr 2012)
New Revision: 51452

Modified:
   grass/branches/releasebranch_6_4/scripts/r.mask/r.mask
Log:
accept also --o

Modified: grass/branches/releasebranch_6_4/scripts/r.mask/r.mask
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.mask/r.mask	2012-04-15 07:34:46 UTC (rev 51451)
+++ grass/branches/releasebranch_6_4/scripts/r.mask/r.mask	2012-04-16 20:31:01 UTC (rev 51452)
@@ -57,6 +57,10 @@
   exec g.parser "$0" "$@"
 fi
 
+if [ ! -z "$GRASS_OVERWRITE" ] ; then
+   GIS_FLAG_O=1
+fi
+
 if [ -z "$GRASS_VERBOSE" ] || [ "$GRASS_VERBOSE" -le 2 ] ; then
   BEQUIET="--quiet"
 else



More information about the grass-commit mailing list