From 15571e0c8f4be1170184388f9acd8259ba75b22f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 10 Feb 2011 10:01:23 +0100 Subject: [PATCH] tests: fix bug in preceding check.mk change * tests/check.mk (.built-programs): Run cd'd submake in a subshell so the redirected output ends up in the current directory, not ../src. --- tests/check.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check.mk b/tests/check.mk index b80dce8..1e3ca85 100644 --- a/tests/check.mk +++ b/tests/check.mk @@ -44,8 +44,8 @@ CLEANFILES = CLEANFILES += .built-programs check-am: .built-programs .built-programs: - $(AM_V_GEN)cd $(top_builddir)/src \ - && MAKEFLAGS= $(MAKE) -s built_programs.list \ + $(AM_V_GEN)(cd $(top_builddir)/src \ + && MAKEFLAGS= $(MAKE) -s built_programs.list) \ > $@-t && mv $@-t $@ # Note that the first lines are statements. They ensure that environment -- 2.7.4