[postgis-tickets] r17735 - Simplify perl code
Sandro Santilli
strk at kbt.io
Tue Aug 20 04:37:50 PDT 2019
Author: strk
Date: 2019-08-20 04:37:50 -0700 (Tue, 20 Aug 2019)
New Revision: 17735
Modified:
trunk/regress/run_test.pl
Log:
Simplify perl code
Modified: trunk/regress/run_test.pl
===================================================================
--- trunk/regress/run_test.pl 2019-08-20 11:06:18 UTC (rev 17734)
+++ trunk/regress/run_test.pl 2019-08-20 11:37:50 UTC (rev 17735)
@@ -1367,7 +1367,7 @@
if ( $OPT_WITH_SFCGAL )
{
- do {{
+ {
my $sql = "CREATE EXTENSION postgis_sfcgal";
if ( $OPT_UPGRADE_FROM ) {
if ( semver_lessthan($OPT_UPGRADE_FROM, "2.2.0") )
@@ -1387,7 +1387,7 @@
fail "Error encountered creating EXTENSION POSTGIS_SFCGAL", $REGRESS_LOG;
die;
}
- }} while (0);
+ }
}
return 1;
More information about the postgis-tickets
mailing list