[postgis-tickets] r17339 - Ensure "make check" uses configured PostgreSQL target bins
Sandro Santilli
strk at kbt.io
Wed Mar 13 12:56:34 PDT 2019
Author: strk
Date: 2019-03-13 00:56:33 -0700 (Wed, 13 Mar 2019)
New Revision: 17339
Modified:
trunk/topology/test/Makefile.in
Log:
Ensure "make check" uses configured PostgreSQL target bins
Closes #4349
Patch by Bruce Rindahl
Modified: trunk/topology/test/Makefile.in
===================================================================
--- trunk/topology/test/Makefile.in 2019-03-11 20:05:00 UTC (rev 17338)
+++ trunk/topology/test/Makefile.in 2019-03-13 07:56:33 UTC (rev 17339)
@@ -4,6 +4,17 @@
PERL=@PERL@
GEOS_NUMERIC_VERSION=@GEOS_NUMERIC_VERSION@
+# MingW hack: rather than use PGSQL_BINDIR directly, we change to the directory and
+# then use "pwd" to return the path. This ensures that the returned path is in MSYS
+# format, otherwise colons in drive letters will break PATH.
+PGSQL_BINDIR=$(shell cd "@PGSQL_BINDIR@" && pwd)
+
+#
+# Put path from pg_config into front of search path
+#
+PATH := $(PGSQL_BINDIR):$(PATH)
+export PATH
+
all:
@echo "Use 'make check' to run all tests"
More information about the postgis-tickets
mailing list