[GRASS-SVN] r45247 - in grass/branches/releasebranch_6_4/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.regression.line
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:03:30 EST 2011
Author: neteler
Date: 2011-01-30 05:03:30 -0800 (Sun, 30 Jan 2011)
New Revision: 45247
Modified:
grass/branches/releasebranch_6_4/scripts/d.correlate/d.correlate
grass/branches/releasebranch_6_4/scripts/d.out.gpsdrive/d.out.gpsdrive
grass/branches/releasebranch_6_4/scripts/d.out.png/d.out.png
grass/branches/releasebranch_6_4/scripts/d.polar/d.polar
grass/branches/releasebranch_6_4/scripts/d.resize/d.resize
grass/branches/releasebranch_6_4/scripts/d.vect.thematic/d.vect.thematic
grass/branches/releasebranch_6_4/scripts/db.dropcol/db.dropcol
grass/branches/releasebranch_6_4/scripts/db.droptable/db.droptable
grass/branches/releasebranch_6_4/scripts/db.in.ogr/db.in.ogr
grass/branches/releasebranch_6_4/scripts/db.out.ogr/db.out.ogr
grass/branches/releasebranch_6_4/scripts/g.mremove/g.mremove
grass/branches/releasebranch_6_4/scripts/i.fusion.brovey/i.fusion.brovey
grass/branches/releasebranch_6_4/scripts/i.image.mosaic/i.image.mosaic
grass/branches/releasebranch_6_4/scripts/i.in.spotvgt/i.in.spotvgt
grass/branches/releasebranch_6_4/scripts/i.landsat.rgb/i.landsat.rgb
grass/branches/releasebranch_6_4/scripts/i.oif/i.oifcalc
grass/branches/releasebranch_6_4/scripts/r.blend/r.blend
grass/branches/releasebranch_6_4/scripts/r.fillnulls/r.fillnulls
grass/branches/releasebranch_6_4/scripts/r.in.aster/r.in.aster
grass/branches/releasebranch_6_4/scripts/r.in.srtm/r.in.srtm
grass/branches/releasebranch_6_4/scripts/r.in.wms/r.in.wms
grass/branches/releasebranch_6_4/scripts/r.out.gdal/r.out.gdal.sh
grass/branches/releasebranch_6_4/scripts/r.plane/r.plane
grass/branches/releasebranch_6_4/scripts/r.reclass.area/r.reclass.area
grass/branches/releasebranch_6_4/scripts/r.regression.line/r.regression.line
grass/branches/releasebranch_6_4/scripts/r.shaded.relief/r.shaded.relief
grass/branches/releasebranch_6_4/scripts/r.univar.sh/r.univar.sh
grass/branches/releasebranch_6_4/scripts/v.db.addcol/v.db.addcol
grass/branches/releasebranch_6_4/scripts/v.db.addtable/v.db.addtable
grass/branches/releasebranch_6_4/scripts/v.db.dropcol/v.db.dropcol
grass/branches/releasebranch_6_4/scripts/v.db.droptable/v.db.droptable
grass/branches/releasebranch_6_4/scripts/v.db.join/v.db.join
grass/branches/releasebranch_6_4/scripts/v.db.renamecol/v.db.renamecol
grass/branches/releasebranch_6_4/scripts/v.db.univar/v.db.univar
grass/branches/releasebranch_6_4/scripts/v.db.update/v.db.update
grass/branches/releasebranch_6_4/scripts/v.dissolve/v.dissolve
grass/branches/releasebranch_6_4/scripts/v.in.e00/v.in.e00
grass/branches/releasebranch_6_4/scripts/v.in.garmin/v.in.garmin
grass/branches/releasebranch_6_4/scripts/v.in.geonames/v.in.geonames
grass/branches/releasebranch_6_4/scripts/v.in.gns/v.in.gns
grass/branches/releasebranch_6_4/scripts/v.in.gpsbabel/v.in.gpsbabel
grass/branches/releasebranch_6_4/scripts/v.in.mapgen/v.in.mapgen
grass/branches/releasebranch_6_4/scripts/v.in.wfs/v.in.wfs
grass/branches/releasebranch_6_4/scripts/v.out.gpsbabel/v.out.gpsbabel
grass/branches/releasebranch_6_4/scripts/v.rast.stats/v.rast.stats
grass/branches/releasebranch_6_4/scripts/v.univar.sh/v.univar.sh
Log:
quoting of variable fixes, esp. for windows
Modified: grass/branches/releasebranch_6_4/scripts/d.correlate/d.correlate
===================================================================
--- grass/branches/releasebranch_6_4/scripts/d.correlate/d.correlate 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/d.correlate/d.correlate 2011-01-30 13:03:30 UTC (rev 45247)
@@ -54,7 +54,7 @@
fi
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"`
#### check if we have awk
if [ ! -x "`which awk`" ] ; then
Modified: grass/branches/releasebranch_6_4/scripts/d.out.gpsdrive/d.out.gpsdrive
===================================================================
--- grass/branches/releasebranch_6_4/scripts/d.out.gpsdrive/d.out.gpsdrive 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/d.out.gpsdrive/d.out.gpsdrive 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/d.out.png/d.out.png
===================================================================
--- grass/branches/releasebranch_6_4/scripts/d.out.png/d.out.png 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/d.out.png/d.out.png 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/d.polar/d.polar
===================================================================
--- grass/branches/releasebranch_6_4/scripts/d.polar/d.polar 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/d.polar/d.polar 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/d.resize/d.resize
===================================================================
--- grass/branches/releasebranch_6_4/scripts/d.resize/d.resize 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/d.resize/d.resize 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/d.vect.thematic/d.vect.thematic
===================================================================
--- grass/branches/releasebranch_6_4/scripts/d.vect.thematic/d.vect.thematic 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/d.vect.thematic/d.vect.thematic 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/db.dropcol/db.dropcol
===================================================================
--- grass/branches/releasebranch_6_4/scripts/db.dropcol/db.dropcol 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/db.dropcol/db.dropcol 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/db.droptable/db.droptable
===================================================================
--- grass/branches/releasebranch_6_4/scripts/db.droptable/db.droptable 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/db.droptable/db.droptable 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/db.in.ogr/db.in.ogr
===================================================================
--- grass/branches/releasebranch_6_4/scripts/db.in.ogr/db.in.ogr 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/db.in.ogr/db.in.ogr 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/db.out.ogr/db.out.ogr
===================================================================
--- grass/branches/releasebranch_6_4/scripts/db.out.ogr/db.out.ogr 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/db.out.ogr/db.out.ogr 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/g.mremove/g.mremove
===================================================================
--- grass/branches/releasebranch_6_4/scripts/g.mremove/g.mremove 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/g.mremove/g.mremove 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/i.fusion.brovey/i.fusion.brovey
===================================================================
--- grass/branches/releasebranch_6_4/scripts/i.fusion.brovey/i.fusion.brovey 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/i.fusion.brovey/i.fusion.brovey 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/i.image.mosaic/i.image.mosaic
===================================================================
--- grass/branches/releasebranch_6_4/scripts/i.image.mosaic/i.image.mosaic 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/i.image.mosaic/i.image.mosaic 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/i.in.spotvgt/i.in.spotvgt
===================================================================
--- grass/branches/releasebranch_6_4/scripts/i.in.spotvgt/i.in.spotvgt 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/i.in.spotvgt/i.in.spotvgt 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/i.landsat.rgb/i.landsat.rgb
===================================================================
--- grass/branches/releasebranch_6_4/scripts/i.landsat.rgb/i.landsat.rgb 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/i.landsat.rgb/i.landsat.rgb 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/i.oif/i.oifcalc
===================================================================
--- grass/branches/releasebranch_6_4/scripts/i.oif/i.oifcalc 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/i.oif/i.oifcalc 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.blend/r.blend
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.blend/r.blend 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.blend/r.blend 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.fillnulls/r.fillnulls
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.fillnulls/r.fillnulls 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.fillnulls/r.fillnulls 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.in.aster/r.in.aster
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.in.aster/r.in.aster 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.in.aster/r.in.aster 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.in.srtm/r.in.srtm
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.in.srtm/r.in.srtm 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.in.srtm/r.in.srtm 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.in.wms/r.in.wms
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.in.wms/r.in.wms 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.in.wms/r.in.wms 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.out.gdal/r.out.gdal.sh
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.out.gdal/r.out.gdal.sh 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.out.gdal/r.out.gdal.sh 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.plane/r.plane
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.plane/r.plane 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.plane/r.plane 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.reclass.area/r.reclass.area
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.reclass.area/r.reclass.area 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.reclass.area/r.reclass.area 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.regression.line/r.regression.line
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.regression.line/r.regression.line 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.regression.line/r.regression.line 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.shaded.relief/r.shaded.relief
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.shaded.relief/r.shaded.relief 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.shaded.relief/r.shaded.relief 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/r.univar.sh/r.univar.sh
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.univar.sh/r.univar.sh 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/r.univar.sh/r.univar.sh 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.db.addcol/v.db.addcol
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.db.addcol/v.db.addcol 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.db.addcol/v.db.addcol 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.db.addtable/v.db.addtable
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.db.addtable/v.db.addtable 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.db.addtable/v.db.addtable 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.db.dropcol/v.db.dropcol
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.db.dropcol/v.db.dropcol 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.db.dropcol/v.db.dropcol 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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"`
#### setup temporary file
TEMPFILE="`g.tempfile pid=$$`"
Modified: grass/branches/releasebranch_6_4/scripts/v.db.droptable/v.db.droptable
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.db.droptable/v.db.droptable 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.db.droptable/v.db.droptable 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.db.join/v.db.join
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.db.join/v.db.join 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.db.join/v.db.join 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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"`
driver=`v.db.connect -g map="$GIS_OPT_MAP" fs=";" | grep "^$GIS_OPT_LAYER" | cut -d';' -f5`
database=`v.db.connect -g map="$GIS_OPT_MAP" fs=";" | grep "^$GIS_OPT_LAYER" | cut -d';' -f4`
Modified: grass/branches/releasebranch_6_4/scripts/v.db.renamecol/v.db.renamecol
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.db.renamecol/v.db.renamecol 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.db.renamecol/v.db.renamecol 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.db.univar/v.db.univar
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.db.univar/v.db.univar 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.db.univar/v.db.univar 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.db.update/v.db.update
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.db.update/v.db.update 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.db.update/v.db.update 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.dissolve/v.dissolve
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.dissolve/v.dissolve 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.dissolve/v.dissolve 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.in.e00/v.in.e00
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.in.e00/v.in.e00 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.in.e00/v.in.e00 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.in.garmin/v.in.garmin
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.in.garmin/v.in.garmin 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.in.garmin/v.in.garmin 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.in.geonames/v.in.geonames
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.in.geonames/v.in.geonames 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.in.geonames/v.in.geonames 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.in.gns/v.in.gns
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.in.gns/v.in.gns 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.in.gns/v.in.gns 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.in.gpsbabel/v.in.gpsbabel
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.in.gpsbabel/v.in.gpsbabel 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.in.gpsbabel/v.in.gpsbabel 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.in.mapgen/v.in.mapgen
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.in.mapgen/v.in.mapgen 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.in.mapgen/v.in.mapgen 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.in.wfs/v.in.wfs
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.in.wfs/v.in.wfs 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.in.wfs/v.in.wfs 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.out.gpsbabel/v.out.gpsbabel
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.out.gpsbabel/v.out.gpsbabel 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.out.gpsbabel/v.out.gpsbabel 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.rast.stats/v.rast.stats
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.rast.stats/v.rast.stats 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.rast.stats/v.rast.stats 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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/releasebranch_6_4/scripts/v.univar.sh/v.univar.sh
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.univar.sh/v.univar.sh 2011-01-30 00:28:29 UTC (rev 45246)
+++ grass/branches/releasebranch_6_4/scripts/v.univar.sh/v.univar.sh 2011-01-30 13:03:30 UTC (rev 45247)
@@ -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