]> granicus.if.org Git - postgis/commitdiff
portable math expressions.
authorSandro Santilli <strk@keybit.net>
Mon, 25 Oct 2004 15:31:27 +0000 (15:31 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 25 Oct 2004 15:31:27 +0000 (15:31 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1040 b70326c6-7e19-0410-871a-916f4a2858ee

geos_version.sh

index c75c675febd2c3721996b6bbfbb81c0aaa25bfa0..0db27717093a968bb87987d4064a7c55017c5245 100755 (executable)
@@ -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