[GRASS-SVN] r55196 - grass/branches/develbranch_6/scripts/v.db.renamecol

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 25 11:23:28 PST 2013


Author: hamish
Date: 2013-02-25 11:23:28 -0800 (Mon, 25 Feb 2013)
New Revision: 55196

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

Modified: grass/branches/develbranch_6/scripts/v.db.renamecol/v.db.renamecol
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.renamecol/v.db.renamecol	2013-02-25 19:21:30 UTC (rev 55195)
+++ grass/branches/develbranch_6/scripts/v.db.renamecol/v.db.renamecol	2013-02-25 19:23:28 UTC (rev 55196)
@@ -80,8 +80,8 @@
 }
 
 ### 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"`
 if [ ! "$file" ] ; then



More information about the grass-commit mailing list