[GRASS-SVN] r55201 - grass/branches/develbranch_6/scripts/v.colors

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 25 12:52:15 PST 2013


Author: hamish
Date: 2013-02-25 12:52:14 -0800 (Mon, 25 Feb 2013)
New Revision: 55201

Modified:
   grass/branches/develbranch_6/scripts/v.colors/v.colors
Log:
better handle spaces in GISDBASE (#1683)

Modified: grass/branches/develbranch_6/scripts/v.colors/v.colors
===================================================================
--- grass/branches/develbranch_6/scripts/v.colors/v.colors	2013-02-25 20:49:49 UTC (rev 55200)
+++ grass/branches/develbranch_6/scripts/v.colors/v.colors	2013-02-25 20:52:14 UTC (rev 55201)
@@ -140,8 +140,7 @@
 
 
 ### setup enviro vars ###
-eval `g.gisenv`
-: ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
+MAPSET=`g.gisenv get=MAPSET`
 
 #### does map exist in CURRENT mapset?
 eval `g.findfile element=vector file="$GIS_OPT_MAP" mapset="$MAPSET"`



More information about the grass-commit mailing list