[postgis-users] geos_version.sh

strk at refractions.net strk at refractions.net
Mon Oct 25 07:51:27 PDT 2004


On Mon, Oct 25, 2004 at 09:37:34AM -0500, David Bitner wrote:
> When running make in PostGIS 0.9.0 using Geos 2.0.0 on Solaris 9 (x86)I get
> the following error stemming from geos_version.sh:
> 
> ./geos_version.sh /opt/csw > postgis_geos_version.h
> ./geos_version.sh: syntax error at line 25: `last=$' unexpected
> 
> This comes from the line in geos_version.sh:
> last=$(($major+$minor))
> 
> Is there some incompatibility between bourne shells?  Any suggestions on how
> I can fix this line?

Please, try this:
	let last=$major+$minor
--strk;

> 
> Thanks,
> David
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list