[GRASS-SVN] r43362 - grass/branches/develbranch_6/scripts/r.tileset

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 31 08:04:31 EDT 2010


Author: hamish
Date: 2010-08-31 12:04:31 +0000 (Tue, 31 Aug 2010)
New Revision: 43362

Modified:
   grass/branches/develbranch_6/scripts/r.tileset/r.tileset
Log:
survive cs2cs + spaces in NTv2 grid file pathnames

Modified: grass/branches/develbranch_6/scripts/r.tileset/r.tileset
===================================================================
--- grass/branches/develbranch_6/scripts/r.tileset/r.tileset	2010-08-31 12:02:26 UTC (rev 43361)
+++ grass/branches/develbranch_6/scripts/r.tileset/r.tileset	2010-08-31 12:04:31 UTC (rev 43362)
@@ -231,7 +231,7 @@
 
 	message 3 "echo \"$p_x1 $p_y1\" | $CS2CS -f \"%.8f\" $p_source_proj +to $p_dest_proj"
 
-	answer=`echo "$p_x1 $p_y1" | $CS2CS -f "%.8f" $p_source_proj +to $p_dest_proj`
+	answer=`echo "$p_x1 $p_y1" | eval $CS2CS -f "%.8f" $(echo $p_source_proj) +to $(echo $p_dest_proj)`
 
 	if [ $? -ne 0 ] ; then
 	    g.message -e message="Problem running $CS2CS. <$answer>"



More information about the grass-commit mailing list