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
This commit is contained in:
Sandro Santilli 2012-03-01 09:16:15 +00:00
parent 06edacae4e
commit 5a80788566

View file

@ -244,7 +244,7 @@ while( my $l = <INPUT> ) {
$subline =~ s/^[0-9]*\t/${newsrid}\t/;
}
print STDOUT $subline;
last if $subline =~ /^\.$/;
last if $subline =~ /^\\.$/;
}
next;
}