[GRASS-SVN] r34010 - grass/branches/develbranch_6/scripts/d.vect.thematic

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 26 10:15:49 EDT 2008


Author: glynn
Date: 2008-10-26 10:15:49 -0400 (Sun, 26 Oct 2008)
New Revision: 34010

Modified:
   grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic
Log:
Fix bug introduced by r34005


Modified: grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic
===================================================================
--- grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic	2008-10-26 14:14:28 UTC (rev 34009)
+++ grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic	2008-10-26 14:15:49 UTC (rev 34010)
@@ -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