aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-09-17 00:54:12 -0400
committerPeter Eisentraut <peter_e@gmx.net>2014-09-17 00:56:23 -0400
commit78b488d2e3d884e58a670f052400573b33824e04 (patch)
treee47aee2dca17277add43404027420afd5d2f7d6d /src
parent4c054ad18ecc4aa7fdc9a6760d029c64eaab1cdd (diff)
downloadpostgresql-78b488d2e3d884e58a670f052400573b33824e04.tar.gz
postgresql-78b488d2e3d884e58a670f052400573b33824e04.zip
Fix TAP checks when current directory name contains spaces
Add some quotes in the makefile snippet that creates the temporary installation, so that it can handle spaces in the directory name and possibly some other oddities.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 76ea044753a..a7564e424f7 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -316,7 +316,7 @@ endef
define prove_check
$(MKDIR_P) tmp_check/log
-$(MAKE) -C $(top_builddir) DESTDIR=$(CURDIR)/tmp_check/install install >$(CURDIR)/tmp_check/log/install.log 2>&1
+$(MAKE) -C $(top_builddir) DESTDIR='$(CURDIR)'/tmp_check/install install >'$(CURDIR)'/tmp_check/log/install.log 2>&1
cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(CURDIR)/tmp_check/install$(bindir):$$PATH" $(call add_to_path,$(ld_library_path_var),$(CURDIR)/tmp_check/install$(libdir)) PGPORT='6$(DEF_PGPORT)' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) t/
endef