]> granicus.if.org Git - postgis/commitdiff
Properly exit the loop parsing spatial_ref_sys population (#1640)
authorSandro Santilli <strk@keybit.net>
Thu, 1 Mar 2012 09:16:15 +0000 (09:16 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 1 Mar 2012 09:16:15 +0000 (09:16 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9361 b70326c6-7e19-0410-871a-916f4a2858ee

utils/postgis_restore.pl.in

index 4b033304d74234ae0590cfa54d6bb42ea3e96ae6..685763afdf14d371fda47e92dafe327e9259cb50 100755 (executable)
@@ -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;
   }