[GRASS-SVN] r55223 - grass/branches/develbranch_6/scripts/v.in.gns
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 25 15:36:20 PST 2013
Author: hamish
Date: 2013-02-25 15:36:20 -0800 (Mon, 25 Feb 2013)
New Revision: 55223
Modified:
grass/branches/develbranch_6/scripts/v.in.gns/v.in.gns
Log:
better handle spaces in GISDBASE (#1683), remove unused variables
Modified: grass/branches/develbranch_6/scripts/v.in.gns/v.in.gns
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.gns/v.in.gns 2013-02-25 23:28:21 UTC (rev 55222)
+++ grass/branches/develbranch_6/scripts/v.in.gns/v.in.gns 2013-02-25 23:36:20 UTC (rev 55223)
@@ -57,8 +57,6 @@
exec g.parser "$0" "$@"
fi
-PROG=`basename "$0"`
-
#### check if we have awk
if [ ! -x "`which awk`" ] ; then
g.message -e "awk required, please install awk/gawk first"
@@ -70,11 +68,7 @@
LC_NUMERIC=C
export LC_NUMERIC
-eval `g.gisenv`
-: ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
-LOCATION="$GISDBASE"/"$LOCATION_NAME"/"$MAPSET"
-
if [ -n "$GIS_OPT_FILE" ] ; then
FILEORIG="$GIS_OPT_FILE"
if [ -n "$GIS_OPT_VECT" ] ; then
More information about the grass-commit
mailing list