From a80935a9bf2d5d3d90230d116fa659548726457f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 25 Oct 2004 15:31:27 +0000 Subject: [PATCH] portable math expressions. git-svn-id: http://svn.osgeo.org/postgis/trunk@1040 b70326c6-7e19-0410-871a-916f4a2858ee --- geos_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0