[GRASS-CVS] hamish: grass6/scripts/d.monsize d.monsize, 1.9,
1.9.2.1
grass at intevation.de
grass at intevation.de
Sun Nov 25 22:42:46 EST 2007
Author: hamish
Update of /grassrepository/grass6/scripts/d.monsize
In directory doto:/tmp/cvs-serv16857/grass6/scripts/d.monsize
Modified Files:
Tag: releasebranch_6_3
d.monsize
Log Message:
fix output message enviro vars, fix shebang
Index: d.monsize
===================================================================
RCS file: /grassrepository/grass6/scripts/d.monsize/d.monsize,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -d -r1.9 -r1.9.2.1
--- d.monsize 23 Mar 2007 18:47:45 -0000 1.9
+++ d.monsize 26 Nov 2007 03:42:44 -0000 1.9.2.1
@@ -1,4 +1,4 @@
- #!/bin/sh
+#!/bin/sh
############################################################################
#
# MODULE: d.monsize, v 1.6 for GRASS 6.0 (2004/12/07)
@@ -73,7 +73,7 @@
then
# No monitor running so start a new one....
g.message "No monitor selected"
- g.message "Starting monitor $GIS_OPT_SETMONITOR of size $GIS_OPT_SETWIDTHX$GIS_OPT_SETHEIGHT ..."
+ g.message "Starting monitor $GIS_OPT_SETMONITOR of size ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..."
d.mon start=$GIS_OPT_SETMONITOR
else
if [ "$GIS_OPT_SETMONITOR" = "$st3" ]
@@ -81,12 +81,12 @@
# Monitor is already running...stop it and start new one
d.mon stop=$GIS_OPT_SETMONITOR
g.message "Monitor already running and selected"
- g.message "Restarting monitor $GIS_OPT_SETMONITORAT size $GIS_OPT_SETWIDTHX$GIS_OPT_SETHEIGHT ..."
+ g.message "Restarting monitor $GIS_OPT_SETMONITORAT size ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..."
sleep 4
d.mon start=$GIS_OPT_SETMONITOR
else
g.message "A different monitor is selected"
- g.message "Selecting and restarting monitor $GIS_OPT_SETWIDTHX$GIS_OPT_SETHEIGHT..."
+ g.message "Selecting and restarting monitor ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..."
#d.mon select=$GIS_OPT_SETMONITOR
d.mon stop=$GIS_OPT_SETMONITOR
sleep 4
More information about the grass-commit
mailing list