]> granicus.if.org Git - postgis/commitdiff
#2405 second try
authorNicklas Avén <nicklas.aven@jordogskog.no>
Wed, 7 Aug 2013 18:41:01 +0000 (18:41 +0000)
committerNicklas Avén <nicklas.aven@jordogskog.no>
Wed, 7 Aug 2013 18:41:01 +0000 (18:41 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11741 b70326c6-7e19-0410-871a-916f4a2858ee

utils/postgis_proc_upgrade.pl

index 99bcbe5448517105e7e1f41a8da44ecd9421a90b..efa81755940809e65856bbf86829c0cf74ea9c70 100755 (executable)
@@ -227,7 +227,7 @@ while(<INPUT>)
                        $aggtype = $1 if ( /basetype\s*=\s*([^,]*)\s*,/i );
                        last if /\);/;
                }
-               if ($aggtype=='unknown')
+               if ($aggtype eq "unknown")
                {
                #For the new aggregate syntax where the parameters is defined like a common function
                        print "DROP AGGREGATE IF EXISTS $aggname;\n";