[GRASS-dev] [bug #5499] (grass) bash scripts starting with #!/bin/sh

Glynn Clements glynn at gclements.plus.com
Tue Feb 20 11:46:06 EST 2007


Hamish wrote:

> > > I experienced problems with Ubuntu 6.10 installation. The r.in.wms
> > > script refused to work with errors like this:
> > > /usr/lib/grass/etc/r.in.wms//wms.request: 326: SIZE_ARRAY[0]=: not
> > > found
> 
> The broken PROJ_UNITS parsing in r.tileset is fixed in 6.3 CVS and
> backported to the 6.2.x branch.
> 
> 
> The bash vs. ash issue in r.in.wms is not fixed.
> 
> 
> is this valid Bourne sh or is it a Bash extension?
> 
> SIZE_ARRAY[0]=""

Arrays are a bash extension.

AFAICT, the array is never actually used, so removing that line should
be harmless.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list