[GRASS-SVN] r38717 - grass/branches/develbranch_6/scripts/v.db.droprow

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 14 04:51:59 EDT 2009


Author: neteler
Date: 2009-08-14 04:51:58 -0400 (Fri, 14 Aug 2009)
New Revision: 38717

Modified:
   grass/branches/develbranch_6/scripts/v.db.droprow/v.db.droprow
Log:
unused vars removed; support fix

Modified: grass/branches/develbranch_6/scripts/v.db.droprow/v.db.droprow
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.droprow/v.db.droprow	2009-08-14 08:13:38 UTC (rev 38716)
+++ grass/branches/develbranch_6/scripts/v.db.droprow/v.db.droprow	2009-08-14 08:51:58 UTC (rev 38717)
@@ -94,10 +94,6 @@
    g.message -e 'There is no table connected to the input vector map! Cannot delete any column'
    exit 1
 fi
-keycol=`v.db.connect -g fs=";" map=$GIS_OPT_INPUT | grep -w $GIS_OPT_LAYER | cut -f3 -d';'`
-database=`v.db.connect -g fs=";" map=$GIS_OPT_INPUT | grep -w $GIS_OPT_LAYER | cut -f4 -d';'`
-driver=`v.db.connect -g fs=";" map=$GIS_OPT_INPUT | grep -w $GIS_OPT_LAYER | cut -f5 -d';'`
-col="$GIS_OPT_COLUMN"
 
 if [ -z "$GRASS_OVERWRITE" ] ; then
    OVERFLAG="--o"
@@ -113,6 +109,6 @@
 fi
 
 # write cmd history:
-v.support map=${GIS_OPT_INPUT} cmdhist="${CMDLINE}"
+v.support map=${GIS_OPT_OUTPUT} cmdhist="${CMDLINE}"
 
 exit 0



More information about the grass-commit mailing list