mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-20 18:56:39 +02:00
(sc_system_h_headers): Propagate exit status through trap.
This commit is contained in:
@@ -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'\
|
||||
|
||||
Reference in New Issue
Block a user