[GRASS-SVN] r35687 - in grass/branches/develbranch_6/scripts: v.db.univar v.univar.sh

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 30 17:04:06 EST 2009


Author: neteler
Date: 2009-01-30 17:04:06 -0500 (Fri, 30 Jan 2009)
New Revision: 35687

Modified:
   grass/branches/develbranch_6/scripts/v.db.univar/v.db.univar
   grass/branches/develbranch_6/scripts/v.univar.sh/v.univar.sh
Log:
fix potential white space in path bugs

Modified: grass/branches/develbranch_6/scripts/v.db.univar/v.db.univar
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.univar/v.db.univar	2009-01-30 20:05:49 UTC (rev 35686)
+++ grass/branches/develbranch_6/scripts/v.db.univar/v.db.univar	2009-01-30 22:04:06 UTC (rev 35687)
@@ -115,9 +115,9 @@
 fi
 
 if [ -z "$GIS_OPT_WHERE" ] ; then
-   db.select table="$GIS_OPT_TABLE" $db $drv sql="select $GIS_OPT_COLUMN from $GIS_OPT_TABLE" -c > "$TMP"
+   db.select table="$GIS_OPT_TABLE" ${db} ${drv} sql="select $GIS_OPT_COLUMN from $GIS_OPT_TABLE" -c > "$TMP"
 else
-   db.select table="$GIS_OPT_TABLE" $db $drv sql="select $GIS_OPT_COLUMN from $GIS_OPT_TABLE WHERE $GIS_OPT_WHERE" -c > "$TMP"
+   db.select table="$GIS_OPT_TABLE" ${db} ${drv} sql="select $GIS_OPT_COLUMN from $GIS_OPT_TABLE WHERE $GIS_OPT_WHERE" -c > "$TMP"
 fi
 
 

Modified: grass/branches/develbranch_6/scripts/v.univar.sh/v.univar.sh
===================================================================
--- grass/branches/develbranch_6/scripts/v.univar.sh/v.univar.sh	2009-01-30 20:05:49 UTC (rev 35686)
+++ grass/branches/develbranch_6/scripts/v.univar.sh/v.univar.sh	2009-01-30 22:04:06 UTC (rev 35687)
@@ -118,9 +118,9 @@
 fi
 
 if [ -z "$GIS_OPT_WHERE" ] ; then
-   db.select table="$GIS_OPT_TABLE" $db $drv sql="select $GIS_OPT_COLUMN from $GIS_OPT_TABLE" -c > "$TMP"
+   db.select table="$GIS_OPT_TABLE" ${db} ${drv} sql="select $GIS_OPT_COLUMN from $GIS_OPT_TABLE" -c > "$TMP"
 else
-   db.select table="$GIS_OPT_TABLE" $db $drv sql="select $GIS_OPT_COLUMN from $GIS_OPT_TABLE WHERE $GIS_OPT_WHERE" -c > "$TMP"
+   db.select table="$GIS_OPT_TABLE" ${db} ${drv} sql="select $GIS_OPT_COLUMN from $GIS_OPT_TABLE WHERE $GIS_OPT_WHERE" -c > "$TMP"
 fi
 
 



More information about the grass-commit mailing list