[GRASS-SVN] r45248 - in grass/branches/develbranch_6/scripts: d.correlate d.out.gpsdrive d.out.png d.polar d.resize d.vect.thematic db.dropcol db.droptable db.in.ogr db.out.ogr g.mremove i.fusion.brovey i.image.mosaic i.in.spotvgt i.landsat.rgb i.oif r.blend r.fillnulls r.in.aster r.in.srtm r.in.wms r.out.gdal r.plane r.reclass.area r.shaded.relief r.univar.sh v.db.addcol v.db.addtable v.db.dropcol v.db.droptable v.db.join v.db.renamecol v.db.univar v.db.update v.dissolve v.in.e00 v.in.garmin v.in.geonames v.in.gns v.in.gpsbabel v.in.mapgen v.in.wfs v.out.gpsbabel v.rast.stats v.univar.sh

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 30 08:14:10 EST 2011


Author: neteler
Date: 2011-01-30 05:14:09 -0800 (Sun, 30 Jan 2011)
New Revision: 45248

Modified:
   grass/branches/develbranch_6/scripts/d.correlate/d.correlate
   grass/branches/develbranch_6/scripts/d.out.gpsdrive/d.out.gpsdrive
   grass/branches/develbranch_6/scripts/d.out.png/d.out.png
   grass/branches/develbranch_6/scripts/d.polar/d.polar
   grass/branches/develbranch_6/scripts/d.resize/d.resize
   grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic
   grass/branches/develbranch_6/scripts/db.dropcol/db.dropcol
   grass/branches/develbranch_6/scripts/db.droptable/db.droptable
   grass/branches/develbranch_6/scripts/db.in.ogr/db.in.ogr
   grass/branches/develbranch_6/scripts/db.out.ogr/db.out.ogr
   grass/branches/develbranch_6/scripts/g.mremove/g.mremove
   grass/branches/develbranch_6/scripts/i.fusion.brovey/i.fusion.brovey
   grass/branches/develbranch_6/scripts/i.image.mosaic/i.image.mosaic
   grass/branches/develbranch_6/scripts/i.in.spotvgt/i.in.spotvgt
   grass/branches/develbranch_6/scripts/i.landsat.rgb/i.landsat.rgb
   grass/branches/develbranch_6/scripts/i.oif/i.oifcalc
   grass/branches/develbranch_6/scripts/r.blend/r.blend
   grass/branches/develbranch_6/scripts/r.fillnulls/r.fillnulls
   grass/branches/develbranch_6/scripts/r.in.aster/r.in.aster
   grass/branches/develbranch_6/scripts/r.in.srtm/r.in.srtm
   grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
   grass/branches/develbranch_6/scripts/r.out.gdal/r.out.gdal.sh
   grass/branches/develbranch_6/scripts/r.plane/r.plane
   grass/branches/develbranch_6/scripts/r.reclass.area/r.reclass.area
   grass/branches/develbranch_6/scripts/r.shaded.relief/r.shaded.relief
   grass/branches/develbranch_6/scripts/r.univar.sh/r.univar.sh
   grass/branches/develbranch_6/scripts/v.db.addcol/v.db.addcol
   grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable
   grass/branches/develbranch_6/scripts/v.db.dropcol/v.db.dropcol
   grass/branches/develbranch_6/scripts/v.db.droptable/v.db.droptable
   grass/branches/develbranch_6/scripts/v.db.join/v.db.join
   grass/branches/develbranch_6/scripts/v.db.renamecol/v.db.renamecol
   grass/branches/develbranch_6/scripts/v.db.univar/v.db.univar
   grass/branches/develbranch_6/scripts/v.db.update/v.db.update
   grass/branches/develbranch_6/scripts/v.dissolve/v.dissolve
   grass/branches/develbranch_6/scripts/v.in.e00/v.in.e00
   grass/branches/develbranch_6/scripts/v.in.garmin/v.in.garmin
   grass/branches/develbranch_6/scripts/v.in.geonames/v.in.geonames
   grass/branches/develbranch_6/scripts/v.in.gns/v.in.gns
   grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel
   grass/branches/develbranch_6/scripts/v.in.mapgen/v.in.mapgen
   grass/branches/develbranch_6/scripts/v.in.wfs/v.in.wfs
   grass/branches/develbranch_6/scripts/v.out.gpsbabel/v.out.gpsbabel
   grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats
   grass/branches/develbranch_6/scripts/v.univar.sh/v.univar.sh
Log:
quoting of variable fixes, esp. for windows

Modified: grass/branches/develbranch_6/scripts/d.correlate/d.correlate
===================================================================
--- grass/branches/develbranch_6/scripts/d.correlate/d.correlate	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/d.correlate/d.correlate	2011-01-30 13:14:09 UTC (rev 45248)
@@ -60,7 +60,7 @@
 fi
 
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -68,7 +68,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/d.out.gpsdrive/d.out.gpsdrive
===================================================================
--- grass/branches/develbranch_6/scripts/d.out.gpsdrive/d.out.gpsdrive	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/d.out.gpsdrive/d.out.gpsdrive	2011-01-30 13:14:09 UTC (rev 45248)
@@ -89,7 +89,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/d.out.png/d.out.png
===================================================================
--- grass/branches/develbranch_6/scripts/d.out.png/d.out.png	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/d.out.png/d.out.png	2011-01-30 13:14:09 UTC (rev 45248)
@@ -46,7 +46,7 @@
 
 g.message -w "This module has been superseded. Please use d.out.file instead."
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/d.polar/d.polar
===================================================================
--- grass/branches/develbranch_6/scripts/d.polar/d.polar	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/d.polar/d.polar	2011-01-30 13:14:09 UTC (rev 45248)
@@ -57,7 +57,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/d.resize/d.resize
===================================================================
--- grass/branches/develbranch_6/scripts/d.resize/d.resize	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/d.resize/d.resize	2011-01-30 13:14:09 UTC (rev 45248)
@@ -42,7 +42,7 @@
 	exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic
===================================================================
--- grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic	2011-01-30 13:14:09 UTC (rev 45248)
@@ -232,7 +232,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/db.dropcol/db.dropcol
===================================================================
--- grass/branches/develbranch_6/scripts/db.dropcol/db.dropcol	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/db.dropcol/db.dropcol	2011-01-30 13:14:09 UTC (rev 45248)
@@ -53,7 +53,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/db.droptable/db.droptable
===================================================================
--- grass/branches/develbranch_6/scripts/db.droptable/db.droptable	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/db.droptable/db.droptable	2011-01-30 13:14:09 UTC (rev 45248)
@@ -42,7 +42,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 # setting environment, so that awk works properly in all languages
 unset LC_ALL

Modified: grass/branches/develbranch_6/scripts/db.in.ogr/db.in.ogr
===================================================================
--- grass/branches/develbranch_6/scripts/db.in.ogr/db.in.ogr	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/db.in.ogr/db.in.ogr	2011-01-30 13:14:09 UTC (rev 45248)
@@ -59,7 +59,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 # setting environment, so that awk works properly in all languages
 unset LC_ALL

Modified: grass/branches/develbranch_6/scripts/db.out.ogr/db.out.ogr
===================================================================
--- grass/branches/develbranch_6/scripts/db.out.ogr/db.out.ogr	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/db.out.ogr/db.out.ogr	2011-01-30 13:14:09 UTC (rev 45248)
@@ -62,7 +62,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 # setting environment, so that awk works properly in all languages
 unset LC_ALL
@@ -88,7 +88,7 @@
 fi
 
 if [ "$GIS_OPT_FORMAT" = "CSV" ] ; then
-  OLAYER="olayer=`basename $GIS_OPT_DSN .csv`"
+  OLAYER="olayer=`basename "$GIS_OPT_DSN" .csv`"
 fi
 
 #is there a simpler way of testing for --overwrite?
@@ -107,7 +107,7 @@
 if [ "$GIS_OPT_FORMAT" = "ESRI_Shapefile" ] ; then
   echo "$GIS_OPT_DSN" | grep '\.dbf$' > /dev/null
   if [ $? -eq 0 ] ; then
-    OUTNAME="`basename $GIS_OPT_DSN .dbf`"
+    OUTNAME="`basename "$GIS_OPT_DSN" .dbf`"
     rm -f "$OUTNAME.shp" "$OUTNAME.shx" "$OUTNAME.prj"
     OUTNAME="$OUTNAME.dbf"
   else

Modified: grass/branches/develbranch_6/scripts/g.mremove/g.mremove
===================================================================
--- grass/branches/develbranch_6/scripts/g.mremove/g.mremove	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/g.mremove/g.mremove	2011-01-30 13:14:09 UTC (rev 45248)
@@ -101,7 +101,7 @@
 : ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
 LOCATION=$GISDBASE/$LOCATION_NAME/$MAPSET
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 g.message "Collecting map names for current mapset <$MAPSET>..."
 

Modified: grass/branches/develbranch_6/scripts/i.fusion.brovey/i.fusion.brovey
===================================================================
--- grass/branches/develbranch_6/scripts/i.fusion.brovey/i.fusion.brovey	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/i.fusion.brovey/i.fusion.brovey	2011-01-30 13:14:09 UTC (rev 45248)
@@ -89,7 +89,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done

Modified: grass/branches/develbranch_6/scripts/i.image.mosaic/i.image.mosaic
===================================================================
--- grass/branches/develbranch_6/scripts/i.image.mosaic/i.image.mosaic	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/i.image.mosaic/i.image.mosaic	2011-01-30 13:14:09 UTC (rev 45248)
@@ -61,7 +61,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -69,7 +69,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/i.in.spotvgt/i.in.spotvgt
===================================================================
--- grass/branches/develbranch_6/scripts/i.in.spotvgt/i.in.spotvgt	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/i.in.spotvgt/i.in.spotvgt	2011-01-30 13:14:09 UTC (rev 45248)
@@ -59,7 +59,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done

Modified: grass/branches/develbranch_6/scripts/i.landsat.rgb/i.landsat.rgb
===================================================================
--- grass/branches/develbranch_6/scripts/i.landsat.rgb/i.landsat.rgb	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/i.landsat.rgb/i.landsat.rgb	2011-01-30 13:14:09 UTC (rev 45248)
@@ -73,7 +73,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -92,7 +92,7 @@
 LC_NUMERIC=C
 export LC_NUMERIC
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 BLUE="$GIS_OPT_BLUE"
 GREEN="$GIS_OPT_GREEN"

Modified: grass/branches/develbranch_6/scripts/i.oif/i.oifcalc
===================================================================
--- grass/branches/develbranch_6/scripts/i.oif/i.oifcalc	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/i.oif/i.oifcalc	2011-01-30 13:14:09 UTC (rev 45248)
@@ -15,7 +15,7 @@
     exit 1
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/r.blend/r.blend
===================================================================
--- grass/branches/develbranch_6/scripts/r.blend/r.blend	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.blend/r.blend	2011-01-30 13:14:09 UTC (rev 45248)
@@ -56,7 +56,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done

Modified: grass/branches/develbranch_6/scripts/r.fillnulls/r.fillnulls
===================================================================
--- grass/branches/develbranch_6/scripts/r.fillnulls/r.fillnulls	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.fillnulls/r.fillnulls	2011-01-30 13:14:09 UTC (rev 45248)
@@ -59,7 +59,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -67,7 +67,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/r.in.aster/r.in.aster
===================================================================
--- grass/branches/develbranch_6/scripts/r.in.aster/r.in.aster	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.in.aster/r.in.aster	2011-01-30 13:14:09 UTC (rev 45248)
@@ -57,7 +57,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done

Modified: grass/branches/develbranch_6/scripts/r.in.srtm/r.in.srtm
===================================================================
--- grass/branches/develbranch_6/scripts/r.in.srtm/r.in.srtm	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.in.srtm/r.in.srtm	2011-01-30 13:14:09 UTC (rev 45248)
@@ -81,7 +81,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -89,7 +89,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
===================================================================
--- grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms	2011-01-30 13:14:09 UTC (rev 45248)
@@ -190,7 +190,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done

Modified: grass/branches/develbranch_6/scripts/r.out.gdal/r.out.gdal.sh
===================================================================
--- grass/branches/develbranch_6/scripts/r.out.gdal/r.out.gdal.sh	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.out.gdal/r.out.gdal.sh	2011-01-30 13:14:09 UTC (rev 45248)
@@ -74,7 +74,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 g.message -w "This module is superseded and will be removed in future \
 versions of GRASS. Use the much faster r.out.gdal instead."

Modified: grass/branches/develbranch_6/scripts/r.plane/r.plane
===================================================================
--- grass/branches/develbranch_6/scripts/r.plane/r.plane	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.plane/r.plane	2011-01-30 13:14:09 UTC (rev 45248)
@@ -77,7 +77,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/r.reclass.area/r.reclass.area
===================================================================
--- grass/branches/develbranch_6/scripts/r.reclass.area/r.reclass.area	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.reclass.area/r.reclass.area	2011-01-30 13:14:09 UTC (rev 45248)
@@ -61,7 +61,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/r.shaded.relief/r.shaded.relief
===================================================================
--- grass/branches/develbranch_6/scripts/r.shaded.relief/r.shaded.relief	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.shaded.relief/r.shaded.relief	2011-01-30 13:14:09 UTC (rev 45248)
@@ -110,7 +110,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -122,7 +122,7 @@
 #nsres=`g.region -g | grep 'nsres=' | sed s/nsres=//`
 #ewres=`g.region -g | grep 'ewres=' | sed s/ewres=//`
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 # setting environment, so that awk works properly in all languages
 unset LC_ALL

Modified: grass/branches/develbranch_6/scripts/r.univar.sh/r.univar.sh
===================================================================
--- grass/branches/develbranch_6/scripts/r.univar.sh/r.univar.sh	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/r.univar.sh/r.univar.sh	2011-01-30 13:14:09 UTC (rev 45248)
@@ -49,7 +49,7 @@
 g.message -w "This module is superseded and will be removed in future \
   versions of GRASS. Use the much faster r.univar instead." 
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.db.addcol/v.db.addcol
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.addcol/v.db.addcol	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.db.addcol/v.db.addcol	2011-01-30 13:14:09 UTC (rev 45248)
@@ -55,7 +55,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename "$0"`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -63,7 +63,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable	2011-01-30 13:14:09 UTC (rev 45248)
@@ -56,7 +56,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -64,7 +64,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.db.dropcol/v.db.dropcol
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.dropcol/v.db.dropcol	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.db.dropcol/v.db.dropcol	2011-01-30 13:14:09 UTC (rev 45248)
@@ -56,7 +56,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -64,7 +64,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### setup temporary file
 TEMPFILE="`g.tempfile pid=$$`"

Modified: grass/branches/develbranch_6/scripts/v.db.droptable/v.db.droptable
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.droptable/v.db.droptable	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.db.droptable/v.db.droptable	2011-01-30 13:14:09 UTC (rev 45248)
@@ -50,7 +50,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -58,7 +58,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.db.join/v.db.join
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.join/v.db.join	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.db.join/v.db.join	2011-01-30 13:14:09 UTC (rev 45248)
@@ -67,7 +67,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -75,7 +75,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 database=`v.db.connect -gl map="$GIS_OPT_MAP" fs="|" layer="$GIS_OPT_LAYER" | cut -d'|' -f4`
 driver=`v.db.connect -gl map="$GIS_OPT_MAP" fs="|" layer="$GIS_OPT_LAYER" | cut -d'|' -f5`

Modified: grass/branches/develbranch_6/scripts/v.db.renamecol/v.db.renamecol
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.renamecol/v.db.renamecol	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.db.renamecol/v.db.renamecol	2011-01-30 13:14:09 UTC (rev 45248)
@@ -54,7 +54,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -62,7 +62,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 # what to do in case of user break:
 exitprocedure()

Modified: grass/branches/develbranch_6/scripts/v.db.univar/v.db.univar
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.univar/v.db.univar	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.db.univar/v.db.univar	2011-01-30 13:14:09 UTC (rev 45248)
@@ -63,7 +63,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.db.update/v.db.update
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.update/v.db.update	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.db.update/v.db.update	2011-01-30 13:14:09 UTC (rev 45248)
@@ -67,7 +67,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -75,7 +75,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.dissolve/v.dissolve
===================================================================
--- grass/branches/develbranch_6/scripts/v.dissolve/v.dissolve	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.dissolve/v.dissolve	2011-01-30 13:14:09 UTC (rev 45248)
@@ -58,7 +58,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done

Modified: grass/branches/develbranch_6/scripts/v.in.e00/v.in.e00
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.e00/v.in.e00	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.in.e00/v.in.e00	2011-01-30 13:14:09 UTC (rev 45248)
@@ -57,7 +57,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -65,7 +65,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.in.garmin/v.in.garmin
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.garmin/v.in.garmin	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.in.garmin/v.in.garmin	2011-01-30 13:14:09 UTC (rev 45248)
@@ -91,7 +91,7 @@
 
 if [ "$1" != "@ARGS_PARSED@" ] ; then
     # save command line
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
 	CMDLINE="$CMDLINE \"$arg\""
     done
@@ -109,7 +109,7 @@
 : ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
 LOCATION="$GISDBASE"/"$LOCATION_NAME"/"$MAPSET"
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 if [ $GIS_FLAG_U -eq 0 ] ; then
     #### check for gpstrans

Modified: grass/branches/develbranch_6/scripts/v.in.geonames/v.in.geonames
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.geonames/v.in.geonames	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.in.geonames/v.in.geonames	2011-01-30 13:14:09 UTC (rev 45248)
@@ -49,7 +49,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -57,7 +57,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.in.gns/v.in.gns
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.gns/v.in.gns	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.in.gns/v.in.gns	2011-01-30 13:14:09 UTC (rev 45248)
@@ -49,7 +49,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done
@@ -57,7 +57,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel	2011-01-30 13:14:09 UTC (rev 45248)
@@ -96,7 +96,7 @@
 
 if [ "$1" != "@ARGS_PARSED@" ] ; then
     # save command line
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
 	CMDLINE="$CMDLINE \"$arg\""
     done
@@ -113,7 +113,7 @@
 : ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
 LOCATION="$GISDBASE"/"$LOCATION_NAME"/"$MAPSET"
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check for gpsbabel 
  if [ ! -x "`which gpsbabel`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.in.mapgen/v.in.mapgen
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.mapgen/v.in.mapgen	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.in.mapgen/v.in.mapgen	2011-01-30 13:14:09 UTC (rev 45248)
@@ -59,7 +59,7 @@
   exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.in.wfs/v.in.wfs
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.wfs/v.in.wfs	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.in.wfs/v.in.wfs	2011-01-30 13:14:09 UTC (rev 45248)
@@ -40,7 +40,7 @@
 
 # save command line
 if [ "$1" != "@ARGS_PARSED@" ] ; then
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
         CMDLINE="$CMDLINE \"$arg\""
     done

Modified: grass/branches/develbranch_6/scripts/v.out.gpsbabel/v.out.gpsbabel
===================================================================
--- grass/branches/develbranch_6/scripts/v.out.gpsbabel/v.out.gpsbabel	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.out.gpsbabel/v.out.gpsbabel	2011-01-30 13:14:09 UTC (rev 45248)
@@ -107,7 +107,7 @@
 
 if [ "$1" != "@ARGS_PARSED@" ] ; then
     # save command line
-    CMDLINE="`basename $0`"
+    CMDLINE=`basename "$0"`
     for arg in "$@" ; do
 	CMDLINE="$CMDLINE \"$arg\""
     done
@@ -124,7 +124,7 @@
 : ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
 LOCATION="$GISDBASE"/"$LOCATION_NAME"/"$MAPSET"
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check for gpsbabel 
 if [ ! -x "`which gpsbabel`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats
===================================================================
--- grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats	2011-01-30 13:14:09 UTC (rev 45248)
@@ -75,7 +75,7 @@
     exec g.parser "$0" "$@"
 fi
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then

Modified: grass/branches/develbranch_6/scripts/v.univar.sh/v.univar.sh
===================================================================
--- grass/branches/develbranch_6/scripts/v.univar.sh/v.univar.sh	2011-01-30 13:03:30 UTC (rev 45247)
+++ grass/branches/develbranch_6/scripts/v.univar.sh/v.univar.sh	2011-01-30 13:14:09 UTC (rev 45248)
@@ -66,7 +66,7 @@
 g.message -w "This module is superseded and will be removed in future \
   versions of GRASS. Use the v.univar instead."
 
-PROG="`basename $0`"
+PROG=`basename "$0"`
 
 #### check if we have awk
 if [ ! -x "`which awk`" ] ; then



More information about the grass-commit mailing list