[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha2-131-g873d3e5
git at osgeo.org
git at osgeo.org
Tue Nov 3 02:01:41 PST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 873d3e5a099dff60614be54c65657eebab184e80 (commit)
from 812ab86095b32df3e66bb0cd105cd3c1f7b9e7cb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 873d3e5a099dff60614be54c65657eebab184e80
Author: Sandro Santilli <strk at kbt.io>
Date: Tue Nov 3 10:56:27 2020 +0100
Do not use abs_path if not strictly needed
Hopefully fixes windows builds (winnie).
See #4781
diff --git a/raster/test/regress/load_outdb-pre.pl b/raster/test/regress/load_outdb-pre.pl
index 0034c1f..ec6782a 100755
--- a/raster/test/regress/load_outdb-pre.pl
+++ b/raster/test/regress/load_outdb-pre.pl
@@ -57,13 +57,13 @@ SELECT
) AS rast
END
-my $PREFNAME = abs_path($TEST) . '-pre.sql';
+my $PREFNAME = $TEST . '-pre.sql';
open(PRESQL, '>', $PREFNAME) || die ('Cannot open ' . $PREFNAME . ": $!");
print PRESQL $sql;
close(PRESQL);
# no longer needed as the "clean" test takes care of it
-#my $POSTFNAME = abs_path($TEST) . '-post.sql';
+#my $POSTFNAME = $TEST . '-post.sql';
#open(POSTSQL, '>', $POSTFNAME) || die ('Cannot open ' . $POSTFNAME . ": $!");;
#print POSTSQL "DROP TABLE IF EXISTS raster_outdb_template;\n";
#close(POSTSQL);
diff --git a/raster/test/regress/loader/BasicOutDB-pre.pl b/raster/test/regress/loader/BasicOutDB-pre.pl
index 3cf188e..0fcd7eb 100755
--- a/raster/test/regress/loader/BasicOutDB-pre.pl
+++ b/raster/test/regress/loader/BasicOutDB-pre.pl
@@ -10,7 +10,7 @@ if ( ! -e $TARGETFILE ) {
die("Cannot link $FILERASTER to $TARGETFILE: $!");
}
-my $OPTSFNAME = abs_path($TEST) . '.opts';
+my $OPTSFNAME = $TEST . '.opts';
open(OPTS, '>', $OPTSFNAME) || die ('Cannot open ' . $OPTSFNAME. ": $1");
print OPTS "-F -C -R \"$FILERASTER\"\n";
close(OPTS);
-----------------------------------------------------------------------
Summary of changes:
raster/test/regress/load_outdb-pre.pl | 4 ++--
raster/test/regress/loader/BasicOutDB-pre.pl | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list