[GRASS-SVN] r55216 - grass/branches/develbranch_6/scripts/db.out.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 25 15:04:29 PST 2013
Author: hamish
Date: 2013-02-25 15:04:29 -0800 (Mon, 25 Feb 2013)
New Revision: 55216
Modified:
grass/branches/develbranch_6/scripts/db.out.ogr/db.out.ogr
Log:
better handle spaces in GISDBASE (#1683), remove unused variables
Modified: grass/branches/develbranch_6/scripts/db.out.ogr/db.out.ogr
===================================================================
--- grass/branches/develbranch_6/scripts/db.out.ogr/db.out.ogr 2013-02-25 23:03:07 UTC (rev 55215)
+++ grass/branches/develbranch_6/scripts/db.out.ogr/db.out.ogr 2013-02-25 23:04:29 UTC (rev 55216)
@@ -62,7 +62,6 @@
exec g.parser "$0" "$@"
fi
-PROG=`basename "$0"`
# setting environment, so that awk works properly in all languages
unset LC_ALL
@@ -79,9 +78,6 @@
# shell check for user break (signal list: trap -l)
trap "exitprocedure" 2 3 15
-### setup enviro vars ###
-eval `g.gisenv`
-: ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
if [ "$GIS_OPT_FORMAT" = "DBF" -o "$GIS_OPT_FORMAT" = "dbf" ] ; then
GIS_OPT_FORMAT="ESRI_Shapefile"
More information about the grass-commit
mailing list