From 2b79abe0301738684a1354355f2f11274754484c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicklas=20Av=C3=A9n?= Date: Wed, 7 Aug 2013 18:41:01 +0000 Subject: [PATCH] #2405 second try git-svn-id: http://svn.osgeo.org/postgis/trunk@11741 b70326c6-7e19-0410-871a-916f4a2858ee --- utils/postgis_proc_upgrade.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.50.1