From cfe5f7b0eb7621bfb0a756222de0431315c2ab8b Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 29 Sep 2021 17:26:50 +1000 Subject: [PATCH] Replace `pwd` with make variable in regress cmd. --- Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index c04f25c96..a987bf5d4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -714,8 +714,8 @@ tests: file-tests t-exec interop-tests unit unit: regress-unit-binaries cd $(srcdir)/regress || exit $$?; \ $(MAKE) \ + .CURDIR="$(abs_top_srcdir)/regress" \ .OBJDIR="$(BUILDDIR)/regress" \ - .CURDIR="`pwd`" \ OBJ="$(BUILDDIR)/regress" \ $@ && echo $@ tests passed @@ -723,10 +723,10 @@ interop-tests t-exec file-tests: regress-prep regress-binaries $(TARGETS) cd $(srcdir)/regress || exit $$?; \ EGREP='@EGREP@' \ $(MAKE) \ + .CURDIR="$(abs_top_srcdir)/regress" \ .OBJDIR="$(BUILDDIR)/regress" \ - .CURDIR="`pwd`" \ BUILDDIR="$(BUILDDIR)" \ - OBJ="$(BUILDDIR)/regress/" \ + OBJ="$(BUILDDIR)/regress" \ PATH="$(BUILDDIR):$${PATH}" \ TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \ TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \