~ubuntu-branches/ubuntu/intrepid/grass/intrepid

« back to all changes in this revision

Viewing changes to scripts/d.monsize/d.monsize

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2008-04-06 17:08:21 UTC
  • mfrom: (1.1.5 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080406170821-7l3d3ulh4g8crwcs
Tags: 6.2.3-2.1
* NMU during credativ BSP 2008
* using patch from Moritz Muehlenhoff <jmm@inutil.org> to fix
  FTBFS with GCC 4.3: missing #includes
  (closes: #461673)

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
  # No monitor running so start a new one....
75
75
  echo
76
76
  echo "No monitor selected"
77
 
  echo "Starting monitor $GIS_OPT_SETMONITOR of size $GIS_OPT_SETWIDTHX$GIS_OPT_SETHEIGHT ..."
 
77
  echo "Starting monitor $GIS_OPT_SETMONITOR of size ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..."
78
78
  d.mon start=$GIS_OPT_SETMONITOR
79
79
else
80
80
  if [ "$GIS_OPT_SETMONITOR" = "$st3" ]
83
83
    d.mon stop=$GIS_OPT_SETMONITOR
84
84
    echo
85
85
    echo "Monitor already running and selected"
86
 
    echo "Restarting monitor $GIS_OPT_SETMONITORAT size $GIS_OPT_SETWIDTHX$GIS_OPT_SETHEIGHT ..."
 
86
    echo "Restarting monitor $GIS_OPT_SETMONITORAT size ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..."
87
87
    sleep 4
88
88
    d.mon start=$GIS_OPT_SETMONITOR
89
89
  else
90
90
    echo
91
91
    echo "A different monitor is selected"
92
 
    echo "Selecting and restarting monitor $GIS_OPT_SETWIDTHX$GIS_OPT_SETHEIGHT..."
 
92
    echo "Selecting and restarting monitor ${GIS_OPT_SETWIDTH}X${GIS_OPT_SETHEIGHT} ..."
93
93
    #d.mon select=$GIS_OPT_SETMONITOR
94
94
    d.mon stop=$GIS_OPT_SETMONITOR
95
95
    sleep 4