[GRASS-SVN] r30635 - grass/branches/releasebranch_6_3/scripts/d.vect.thematic

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 19 06:51:18 EDT 2008


Author: hamish
Date: 2008-03-19 06:51:18 -0400 (Wed, 19 Mar 2008)
New Revision: 30635

Modified:
   grass/branches/releasebranch_6_3/scripts/d.vect.thematic/d.vect.thematic
Log:
merge from HEAD: get rid of 'echo -n'. (trac bug #81)

Modified: grass/branches/releasebranch_6_3/scripts/d.vect.thematic/d.vect.thematic
===================================================================
--- grass/branches/releasebranch_6_3/scripts/d.vect.thematic/d.vect.thematic	2008-03-19 10:50:58 UTC (rev 30634)
+++ grass/branches/releasebranch_6_3/scripts/d.vect.thematic/d.vect.thematic	2008-03-19 10:51:18 UTC (rev 30635)
@@ -248,11 +248,9 @@
    exit 1 
 fi 
 
-if [ "$COLTYPE" = "integer" -o "$COLTYPE" = "double precision" ] ; then
-	echo -n ""
-else
-	g.message -e message="Column <$GIS_OPT_COLUMN> is of type <$COLTYPE> which is not numeric."
-	exit 1
+if [ "$COLTYPE" != "integer" ] && [ "$COLTYPE" != "double precision" ] ; then
+    g.message -e message="Column <$GIS_OPT_COLUMN> is of type <$COLTYPE> which is not numeric."
+    exit 1
 fi
 
 # create temporary file to hold output from v.univar



More information about the grass-commit mailing list