diff options
author | Jim Meyering <meyering@redhat.com> | 2011-02-10 10:01:23 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-02-10 10:01:23 +0100 |
commit | 15571e0c8f4be1170184388f9acd8259ba75b22f (patch) | |
tree | 01967952c5121947aff93c4344b7fe9f48ca2137 | |
parent | c91b2a3c3b3e6ed88312ce104984f8c3778c9dea (diff) | |
download | coreutils-15571e0c8f4be1170184388f9acd8259ba75b22f.tar.xz |
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.
-rw-r--r-- | tests/check.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check.mk b/tests/check.mk index b80dce8ac..1e3ca8502 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 |