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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 16 18:07:05 EDT 2012


Author: hamish
Date: 2012-05-16 15:07:05 -0700 (Wed, 16 May 2012)
New Revision: 51639

Modified:
   grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
   grass/branches/develbranch_6/scripts/r.in.wms/wms.download
Log:
minor whitespace

Modified: grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms
===================================================================
--- grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms	2012-05-16 21:54:40 UTC (rev 51638)
+++ grass/branches/develbranch_6/scripts/r.in.wms/r.in.wms	2012-05-16 22:07:05 UTC (rev 51639)
@@ -335,7 +335,7 @@
 
 	if [ "$GIS_FLAG_G" -eq 0 ] ; then
 	    if [ "$USE_WGET" ] ; then
-		wget -nv $GIS_OPT_WGETOPTIONS --post-data="${STRING}" \
+		wget -nv $GIS_OPT_WGETOPTIONS --post-data="$STRING" \
 		  "$GIS_OPT_MAPSERVER" -O "$CAPABILITIES_FILE"
 		message 1 "wget $GIS_OPT_WGETOPTIONS --post-data=\"${STRING}\" \"$GIS_OPT_MAPSERVER\" -O \"$CAPABILITIES_FILE\";"
 	    else

Modified: grass/branches/develbranch_6/scripts/r.in.wms/wms.download
===================================================================
--- grass/branches/develbranch_6/scripts/r.in.wms/wms.download	2012-05-16 21:54:40 UTC (rev 51638)
+++ grass/branches/develbranch_6/scripts/r.in.wms/wms.download	2012-05-16 22:07:05 UTC (rev 51639)
@@ -54,7 +54,7 @@
 
 if  [ -z "$GISBASE" ] ; then
     echo "You must be in GRASS GIS to run this program." 1>&2
- exit 1
+    exit 1
 fi
 
 if [ "$1" != "@ARGS_PARSED@" ] ; then
@@ -162,7 +162,7 @@
       #download the File from the Server
       if [ "$USE_WGET" ] ; then
          wget --progress=dot:mega $WGET_OPTIONS --post-data="$STRING" \
-            "$SERVER" -O "$OUTPUT_FILE"
+	    "$SERVER" -O "$OUTPUT_FILE"
       else
          curl $CURL_OPTIONS -o "$OUTPUT_FILE" -d "$STRING" "$SERVER"
       fi



More information about the grass-commit mailing list