[postgis-devel] Building the extension on Solaris/amd64
Sandro Santilli
strk at keybit.net
Tue May 21 05:44:58 PDT 2013
On Tue, May 21, 2013 at 11:17:42AM +0000, Martin Spott wrote:
> While we're at it:
>
> --- postgis_restore.pl~ Tue May 21 04:11:45 2013
> +++ postgis_restore.pl Tue May 21 04:11:45 2013
> @@ -58,7 +58,7 @@
> my $SRID_MAXIMUM = 999999;
> my $SRID_USER_MAXIMUM = 998999;
>
> -while (@ARGV && $ARGV[0] =~ /-/) {
> +if (@ARGV && $ARGV[0] =~ /-/) {
> if ( $ARGV[0] eq '-v' ) {
> $DEBUG = 1;
> shift(@ARGV);
That would only process the first option, rather than all of them, no ?
PS: the source is postgis_restore.pl.in
--strk;
More information about the postgis-devel
mailing list