[GRASS-SVN] r34009 - grass/trunk/scripts/d.vect.thematic

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 26 10:14:28 EDT 2008


Author: glynn
Date: 2008-10-26 10:14:28 -0400 (Sun, 26 Oct 2008)
New Revision: 34009

Modified:
   grass/trunk/scripts/d.vect.thematic/d.vect.thematic
Log:
Fix bug introduced by r34004


Modified: grass/trunk/scripts/d.vect.thematic/d.vect.thematic
===================================================================
--- grass/trunk/scripts/d.vect.thematic/d.vect.thematic	2008-10-26 13:04:51 UTC (rev 34008)
+++ grass/trunk/scripts/d.vect.thematic/d.vect.thematic	2008-10-26 14:14:28 UTC (rev 34009)
@@ -366,7 +366,7 @@
     # test, if the column GRASSRGB is in the table
     if [ -z "`db.columns table=$table database=$database driver=$driver| grep -i grassrgb`" ] ; then
         g.message message="Creating column 'grassrgb' in table '$table'"
-        echo "ALTER TABLE $table ADD COLUMN grassrgb varchar(11)" | database="${database}" driver=${driver}
+        echo "ALTER TABLE $table ADD COLUMN grassrgb varchar(11)" | db.execute database="${database}" driver=${driver}
     fi
 fi
 



More information about the grass-commit mailing list