From: Sandro Santilli Date: Thu, 1 Mar 2012 09:16:15 +0000 (+0000) Subject: Properly exit the loop parsing spatial_ref_sys population (#1640) X-Git-Tag: 2.0.0beta2~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a807885667389b17f2c26d7293cfef02b1c823b;p=postgis Properly exit the loop parsing spatial_ref_sys population (#1640) git-svn-id: http://svn.osgeo.org/postgis/trunk@9361 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/postgis_restore.pl.in b/utils/postgis_restore.pl.in index 4b033304d..685763afd 100755 --- a/utils/postgis_restore.pl.in +++ b/utils/postgis_restore.pl.in @@ -244,7 +244,7 @@ while( my $l = ) { $subline =~ s/^[0-9]*\t/${newsrid}\t/; } print STDOUT $subline; - last if $subline =~ /^\.$/; + last if $subline =~ /^\\.$/; } next; }