From bc7359d2a3de5929c9f524c983f40bd20bc5d2ab Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Tue, 3 Nov 2020 11:26:53 +0100 Subject: [PATCH] iucvterm: abort if one of the recursive targets is failing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Abort processing as soon as one of the recursive targets is failing. Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- iucvterm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iucvterm/Makefile b/iucvterm/Makefile index 8c567a1e..4c57644e 100644 --- a/iucvterm/Makefile +++ b/iucvterm/Makefile @@ -21,7 +21,7 @@ clean: clean-recursive $(RECURSIVE_TARGETS): @target=`echo $@ |sed s/-recursive//`; \ for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $$target) \ + (cd $$d && $(MAKE) $$target) || exit 1; \ done