[GRASS-SVN] r55204 - grass/branches/develbranch_6/scripts/r.plane

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 25 14:02:59 PST 2013


Author: hamish
Date: 2013-02-25 14:02:59 -0800 (Mon, 25 Feb 2013)
New Revision: 55204

Modified:
   grass/branches/develbranch_6/scripts/r.plane/r.plane
Log:
better handle spaces in GISDBASE (#1683), remove unused variables

Modified: grass/branches/develbranch_6/scripts/r.plane/r.plane
===================================================================
--- grass/branches/develbranch_6/scripts/r.plane/r.plane	2013-02-25 21:18:31 UTC (rev 55203)
+++ grass/branches/develbranch_6/scripts/r.plane/r.plane	2013-02-25 22:02:59 UTC (rev 55204)
@@ -101,10 +101,6 @@
 export LC_NUMERIC
 
 ### setup enviro vars ###
-eval `g.gisenv`
-: ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
-LOCATION="$GISDBASE/$LOCATION_NAME/$MAPSET"
-
 dip="$GIS_OPT_DIP"
 az="$GIS_OPT_AZIMUTH"
 ea="$GIS_OPT_EASTING"
@@ -258,7 +254,7 @@
 r.support "$name" hist="northing=$no elevation=$el type=$type"
 
 g.message "Done."
-g.message message="Raster map <$name@$MAPSET> generated by r.plane \
+g.message message="Raster map <$name> generated by r.plane \
   at point $ea E, $no N, elevation $el with dip=$dip degrees and \
   aspect=$az degrees ccw from north."
 #echo "$dat, user: $user"



More information about the grass-commit mailing list