From: Nicklas Avén Date: Wed, 7 Aug 2013 18:41:01 +0000 (+0000) Subject: #2405 second try X-Git-Tag: 2.2.0rc1~1423 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b79abe0301738684a1354355f2f11274754484c;p=postgis #2405 second try git-svn-id: http://svn.osgeo.org/postgis/trunk@11741 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/postgis_proc_upgrade.pl b/utils/postgis_proc_upgrade.pl index 99bcbe544..efa817559 100755 --- a/utils/postgis_proc_upgrade.pl +++ b/utils/postgis_proc_upgrade.pl @@ -227,7 +227,7 @@ while() $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";