]> granicus.if.org Git - postgis/commitdiff
Bug fix in GEOS version extractor.
authorSandro Santilli <strk@keybit.net>
Tue, 26 Oct 2004 16:48:25 +0000 (16:48 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 26 Oct 2004 16:48:25 +0000 (16:48 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1042 b70326c6-7e19-0410-871a-916f4a2858ee

geos_version.sh

index 0db27717093a968bb87987d4064a7c55017c5245..aac64c4fb33a6a26af41add57551b5269eee4568 100755 (executable)
@@ -19,7 +19,7 @@ if [ "$version" = "@GEOS_VERSION@" ]; then
        last=1
 else
        major=`echo $version | sed 's/\..*//'`
-       minor=`echo $version | sed 's/[^\.]*\.\([^.]*\)\.*/\1/'`
+       minor=`echo $version | sed 's/[^\.]*\.\([^\.]*\)\..*/\1/'`
        first=$major
        last=`expr $major + $minor`
        geos_version=`printf %d%2.2d $major $minor`