[GRASS-SVN] r55209 - grass/branches/develbranch_6/scripts/v.in.mapgen

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 25 14:24:40 PST 2013


Author: hamish
Date: 2013-02-25 14:24:40 -0800 (Mon, 25 Feb 2013)
New Revision: 55209

Modified:
   grass/branches/develbranch_6/scripts/v.in.mapgen/v.in.mapgen
Log:
better handle spaces in GISDBASE (#1683), remove unused variables

Modified: grass/branches/develbranch_6/scripts/v.in.mapgen/v.in.mapgen
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.mapgen/v.in.mapgen	2013-02-25 22:22:39 UTC (rev 55208)
+++ grass/branches/develbranch_6/scripts/v.in.mapgen/v.in.mapgen	2013-02-25 22:24:40 UTC (rev 55209)
@@ -86,9 +86,6 @@
           END { for (i = last; i > 0; i--) { print line[i]; } }'
 }
 
-eval `g.gisenv`
-: ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
-LOCATION="$GISDBASE/$LOCATION_NAME/$MAPSET"
 
 OPTS=""
 
@@ -188,9 +185,9 @@
 
     #### check success/failure
     if [ $? -eq 0 ] ; then
-	g.message message="\"$NAME@$MAPSET\" successfully created." 
+	g.message message="<$NAME> successfully created." 
     else
-	g.message -e "An error occured on creating \"$NAME\" in mapset \"$MAPSET\", please check"'!'
+	g.message -e "An error occured on creating <$NAME>, please check"'!'
     fi
 fi
 



More information about the grass-commit mailing list