From: Sandro Santilli Date: Mon, 25 Oct 2004 15:31:27 +0000 (+0000) Subject: portable math expressions. X-Git-Tag: pgis_1_0_0RC1~248 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a80935a9bf2d5d3d90230d116fa659548726457f;p=postgis portable math expressions. git-svn-id: http://svn.osgeo.org/postgis/trunk@1040 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/geos_version.sh b/geos_version.sh index c75c675fe..0db277170 100755 --- a/geos_version.sh +++ b/geos_version.sh @@ -21,7 +21,7 @@ else major=`echo $version | sed 's/\..*//'` minor=`echo $version | sed 's/[^\.]*\.\([^.]*\)\.*/\1/'` first=$major - last=$(($major+$minor)) + last=`expr $major + $minor` geos_version=`printf %d%2.2d $major $minor` jtsport=`${geos_dir}/bin/geos-config --jtsport` fi