[GRASS-SVN] r40768 - grass-addons/vector/v.points.cog
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 1 06:45:00 EST 2010
Author: hamish
Date: 2010-02-01 06:45:00 -0500 (Mon, 01 Feb 2010)
New Revision: 40768
Modified:
grass-addons/vector/v.points.cog/v.points.cog
Log:
cleanup column name hack
Modified: grass-addons/vector/v.points.cog/v.points.cog
===================================================================
--- grass-addons/vector/v.points.cog/v.points.cog 2010-02-01 11:39:59 UTC (rev 40767)
+++ grass-addons/vector/v.points.cog/v.points.cog 2010-02-01 11:45:00 UTC (rev 40768)
@@ -123,5 +123,11 @@
) | v.in.ascii out="$GIS_OPT_OUTPUT" columns="x double, y double, $OUT_COLUMN $COLUMN_DEFN"
#echo columns="x double, y double, $OUT_COLUMN $COLUMN_DEFN"
+retval=$?
-exit
+# cleanup cheap hack
+if [ $COLUMN = "cat" ] ; then
+ v.db.dropcol map="$GIS_OPT_OUTPUT" column="cat_" --quiet
+fi
+
+exit $retval
More information about the grass-commit
mailing list