From: Sandro Santilli Date: Sat, 22 Feb 2014 16:29:33 +0000 (+0000) Subject: Use last Changed/Availability in a multi-change comment X-Git-Tag: 2.2.0rc1~1247 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e62b5e666b21b00bb5ff360a4d4ab2c0d6cf0ffb;p=postgis Use last Changed/Availability in a multi-change comment See #2560 git-svn-id: http://svn.osgeo.org/postgis/trunk@12245 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/postgis_proc_upgrade.pl b/utils/postgis_proc_upgrade.pl index 3ee5dc1ec..c8822d3e8 100755 --- a/utils/postgis_proc_upgrade.pl +++ b/utils/postgis_proc_upgrade.pl @@ -291,7 +291,7 @@ while() my $aggsig = "$aggname($aggtype)"; #print "-- Checking comment $comment\n"; - $comment =~ m/(?:Availability|Changed):\s([^\.])\.([^.]*)/; + $comment =~ m/.*(?:Availability|Changed):\s([^\.])\.([^.]*)/s; my $last_updated = $1*100 + $2; if ( ! $last_updated ) {