[GRASS-SVN] r40976 - grass-addons/raster/r.out.gmt
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 13 05:25:32 EST 2010
Author: hamish
Date: 2010-02-13 05:25:32 -0500 (Sat, 13 Feb 2010)
New Revision: 40976
Modified:
grass-addons/raster/r.out.gmt/r.out.gmt
Log:
uppercase flag and option enviro vars for WinGrass compatibility
Modified: grass-addons/raster/r.out.gmt/r.out.gmt
===================================================================
--- grass-addons/raster/r.out.gmt/r.out.gmt 2010-02-13 10:23:12 UTC (rev 40975)
+++ grass-addons/raster/r.out.gmt/r.out.gmt 2010-02-13 10:25:32 UTC (rev 40976)
@@ -81,12 +81,12 @@
export LC_NUMERIC=C
-MAP_NAME="$GIS_OPT_input"
+MAP_NAME="$GIS_OPT_INPUT"
-if [ -z "$GIS_OPT_output" ] ; then
- OUT_BASE=`echo "$GIS_OPT_input" | cut -f1 -d'@'`
+if [ -z "$GIS_OPT_OUTPUT" ] ; then
+ OUT_BASE=`echo "$GIS_OPT_INPUT" | cut -f1 -d'@'`
else
- OUT_BASE="$GIS_OPT_output"
+ OUT_BASE="$GIS_OPT_OUTPUT"
fi
OUTPUT_GRD="${OUT_BASE}.grd"
@@ -231,7 +231,7 @@
# show suggested PostScript creation commands
-if [ $GIS_FLAG_p -eq 1 ] ; then
+if [ $GIS_FLAG_P -eq 1 ] ; then
echo "Suggested GMT PostScript creation commands follow:" 1>&2
echo "==================================================" 1>&2
echo 1>&2
More information about the grass-commit
mailing list