[GRASS-SVN] r57571 - grass/branches/releasebranch_6_4/scripts/v.colors
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 31 23:30:53 PDT 2013
Author: hamish
Date: 2013-08-31 23:30:53 -0700 (Sat, 31 Aug 2013)
New Revision: 57571
Modified:
grass/branches/releasebranch_6_4/scripts/v.colors/v.colors
Log:
better handle spaces in GISDBASE (#1683, merge r55201 from devbr6)
Modified: grass/branches/releasebranch_6_4/scripts/v.colors/v.colors
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.colors/v.colors 2013-09-01 06:28:08 UTC (rev 57570)
+++ grass/branches/releasebranch_6_4/scripts/v.colors/v.colors 2013-09-01 06:30:53 UTC (rev 57571)
@@ -131,8 +131,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