[GRASS-SVN] r42942 - grass/branches/develbranch_6/scripts/r.tileset
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jul 29 08:38:04 EDT 2010
Author: hamish
Date: 2010-07-29 12:38:04 +0000 (Thu, 29 Jul 2010)
New Revision: 42942
Modified:
grass/branches/develbranch_6/scripts/r.tileset/r.tileset
Log:
quote +proj terms as nadgrids file might be in a path containing a space (thanks Glynn)
Modified: grass/branches/develbranch_6/scripts/r.tileset/r.tileset
===================================================================
--- grass/branches/develbranch_6/scripts/r.tileset/r.tileset 2010-07-29 12:35:14 UTC (rev 42941)
+++ grass/branches/develbranch_6/scripts/r.tileset/r.tileset 2010-07-29 12:38:04 UTC (rev 42942)
@@ -386,9 +386,16 @@
g.message "Getting destination projection"
if [ -z "$GIS_OPT_DESTPROJ" ] ; then
- DEST_PROJ=`g.proj -j`
+
+ DEST_PROJ=`g.proj -j | (
+ DEST_PROJ=
+ while read line ; do
+ DEST_PROJ="$DEST_PROJ '$line'"
+ done
+ echo "$DEST_PROJ"
+ )`
else
- DEST_PROJ=`echo $GIS_OPT_DESTPROJ`
+ DEST_PROJ=`echo $GIS_OPT_DESTPROJ`
fi
g.message "Getting projection scale"
More information about the grass-commit
mailing list