[GRASS-SVN] r30128 - grass/trunk/scripts/r.plane
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Feb 13 19:47:03 EST 2008
Author: hamish
Date: 2008-02-13 19:47:02 -0500 (Wed, 13 Feb 2008)
New Revision: 30128
Modified:
grass/trunk/scripts/r.plane/r.plane
Log:
quote variables
Modified: grass/trunk/scripts/r.plane/r.plane
===================================================================
--- grass/trunk/scripts/r.plane/r.plane 2008-02-14 00:45:46 UTC (rev 30127)
+++ grass/trunk/scripts/r.plane/r.plane 2008-02-14 00:47:02 UTC (rev 30128)
@@ -93,7 +93,7 @@
fi
#### trap ctrl-c so that we can clean up tmp
-trap 'rm -f ${TMP}*' 2 3 15
+trap 'rm -f "${TMP}*"' 2 3 15
# setting environment, so that awk works properly in all languages
unset LC_ALL
@@ -110,7 +110,7 @@
ea=$GIS_OPT_EASTING
no=$GIS_OPT_NORTHING
el=$GIS_OPT_ELEVATION
-name=$GIS_OPT_NAME
+name="$GIS_OPT_NAME"
type=$GIS_OPT_TYPE
eval `g.region -g`
More information about the grass-commit
mailing list