[GRASS-SVN] r55195 - grass/branches/develbranch_6/scripts/v.db.dropcol
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 25 11:21:31 PST 2013
Author: hamish
Date: 2013-02-25 11:21:30 -0800 (Mon, 25 Feb 2013)
New Revision: 55195
Modified:
grass/branches/develbranch_6/scripts/v.db.dropcol/v.db.dropcol
Log:
better handle spaces in GISDBASE (#1683)
Modified: grass/branches/develbranch_6/scripts/v.db.dropcol/v.db.dropcol
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.dropcol/v.db.dropcol 2013-02-25 19:17:49 UTC (rev 55194)
+++ grass/branches/develbranch_6/scripts/v.db.dropcol/v.db.dropcol 2013-02-25 19:21:30 UTC (rev 55195)
@@ -89,8 +89,7 @@
trap "exitprocedure" 2 3 15
### 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