[GRASS-SVN] r57566 - grass/branches/releasebranch_6_4/scripts/r.plane

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 31 23:15:03 PDT 2013


Author: hamish
Date: 2013-08-31 23:15:02 -0700 (Sat, 31 Aug 2013)
New Revision: 57566

Modified:
   grass/branches/releasebranch_6_4/scripts/r.plane/r.plane
Log:
better handle spaces in GISDBASE (#1683), remove unused variables (merge r55204 from devbr6)

Modified: grass/branches/releasebranch_6_4/scripts/r.plane/r.plane
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.plane/r.plane	2013-09-01 06:11:52 UTC (rev 57565)
+++ grass/branches/releasebranch_6_4/scripts/r.plane/r.plane	2013-09-01 06:15:02 UTC (rev 57566)
@@ -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