From 29cb226323c3d4770b34fcb27c7fb844c5440741 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 9 Apr 2005 07:24:49 +0000 Subject: [PATCH] (sc_system_h_headers): Propagate exit status through trap. --- Makefile.maint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.maint b/Makefile.maint index af2fe64..0547570 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -206,7 +206,7 @@ sc_root_tests: sc_system_h_headers: .re-list @if test -f $(srcdir)/src/system.h; then \ ( $(CVS_LIST) ) > /dev/null 2>&1 || exit 0; \ - trap 'rm -f .re-list' 0 1 2 3 15; \ + trap 'rc=$$?; rm -f .re-list; exit $$rc' 0 1 2 3 15; \ grep -E -f .re-list \ $$($(CVS_LIST) src | grep -Ev '(copy|system)\.h$$') \ && { echo '$(ME): the above are already included via system.h'\ -- 2.7.4