[GRASS-SVN] r55220 - grass/branches/develbranch_6/scripts/v.convert.all

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


Author: hamish
Date: 2013-02-25 15:18:25 -0800 (Mon, 25 Feb 2013)
New Revision: 55220

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

Modified: grass/branches/develbranch_6/scripts/v.convert.all/v.convert.all
===================================================================
--- grass/branches/develbranch_6/scripts/v.convert.all/v.convert.all	2013-02-25 23:16:34 UTC (rev 55219)
+++ grass/branches/develbranch_6/scripts/v.convert.all/v.convert.all	2013-02-25 23:18:25 UTC (rev 55220)
@@ -34,10 +34,9 @@
 fi
 
 
-eval `g.gisenv`
-: ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
-LOCATION="$GISDBASE/$LOCATION_NAME/$MAPSET"
+MAPSET=`g.gisenv get=MAPSET`
 
+
 CONVERTEDMAPS=0
 for i in `g.mlist type=oldvect`
 do



More information about the grass-commit mailing list