From: Darren Tucker Date: Wed, 29 Sep 2021 07:26:50 +0000 (+1000) Subject: Replace `pwd` with make variable in regress cmd. X-Git-Tag: V_8_9_P1~261 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfe5f7b0eb7621bfb0a756222de0431315c2ab8b;p=thirdparty%2Fopenssh-portable.git Replace `pwd` with make variable in regress cmd. --- 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@" \