[GRASS-SVN] r42914 - grass/branches/develbranch_6/scripts/r.in.wms

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 28 00:34:48 EDT 2010


Author: hamish
Date: 2010-07-28 04:34:47 +0000 (Wed, 28 Jul 2010)
New Revision: 42914

Modified:
   grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
Log:
use full path names to helper scripts so WinGrass can find them

Modified: grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
===================================================================
--- grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms	2010-07-27 21:26:31 UTC (rev 42913)
+++ grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms	2010-07-28 04:34:47 UTC (rev 42914)
@@ -511,7 +511,7 @@
 
 if [ $GIS_FLAG_D -eq 0 ] ; then
 	message 1 "wms.request $REQUEST"
-	eval "wms.request $REQUEST"
+	eval "\"$GISBASE/etc/r.in.wms/wms.request\" $REQUEST"
 	if [ $? -ne 0 ] ; then
 	   g.message -e "wms.request failure" 
 	   exit 1
@@ -524,7 +524,7 @@
 addargument DOWNLOAD curloptions "${GIS_OPT_CURLOPTIONS}"
 
 message 1 "wms.download $DOWNLOAD"
-eval "wms.download $DOWNLOAD"
+eval "\"$GISBASE/etc/r.in.wms/wms.download\" $DOWNLOAD"
 
 # Job 2: make list of files
 
@@ -560,7 +560,7 @@
 fi
 
 message 1 "r.in.gdalwarp $GDALWARP"
-eval "r.in.gdalwarp $GDALWARP"
+eval "\"$GISBASE/etc/r.in.wms/r.in.gdalwarp\" $GDALWARP"
 if [ $? -ne 0 ] ; then
    g.message -e message="r.in.gdalwarp failed"
    exit 1



More information about the grass-commit mailing list