[GRASS-SVN] r55163 - grass/branches/releasebranch_6_4/scripts/v.db.addcol
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 22 01:27:56 PST 2013
Author: hamish
Date: 2013-02-22 01:27:55 -0800 (Fri, 22 Feb 2013)
New Revision: 55163
Modified:
grass/branches/releasebranch_6_4/scripts/v.db.addcol/v.db.addcol
Log:
avoid eval trouble when GISDBASE has a space in it (#1683, 2nd attempt, merge from devbr6)
Modified: grass/branches/releasebranch_6_4/scripts/v.db.addcol/v.db.addcol
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.db.addcol/v.db.addcol 2013-02-22 09:25:16 UTC (rev 55162)
+++ grass/branches/releasebranch_6_4/scripts/v.db.addcol/v.db.addcol 2013-02-22 09:27:55 UTC (rev 55163)
@@ -77,7 +77,7 @@
export LC_NUMERIC
### setup enviro vars ###
-eval `g.gisenv`
+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