]> granicus.if.org Git - postgresql/commitdiff
Fix TAP checks when current directory name contains spaces
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 17 Sep 2014 04:54:12 +0000 (00:54 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 17 Sep 2014 04:56:23 +0000 (00:56 -0400)
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.

src/Makefile.global.in

index 76ea044753a0fae124a6dd3f463d796647d0c3d0..a7564e424f7a3122328f0e80060d6276d6660ded 100644 (file)
@@ -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