diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-12 13:18:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-12 13:18:16 +0000 |
commit | b121bd6e31f2e110f974e47687833f2299778758 (patch) | |
tree | 242e744ff2a65f783d041b2a81e9c6d3dccffa7a | |
parent | 304728fb957f2054685e615ba33898fb4f4f2da3 (diff) | |
download | coreutils-b121bd6e31f2e110f974e47687833f2299778758.tar.xz |
exit nonzero for any failure
-rw-r--r-- | Makefile.maint | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.maint b/Makefile.maint index 06a97e8b9..e6dfd0134 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -344,16 +344,18 @@ wget-update: $(get-targets) .PHONY: cvs-update cvs-update: + fail=; \ for f in $(cvs_files); do \ test -f $$f || { echo "*** skipping $$f" 1>&2; continue; }; \ cvs diff $$f > /dev/null \ || { echo "*** $$f is locally modified; skipping it" 1>&2; \ - continue; }; \ + fail=yes; continue; }; \ file=$$(basename $$f); \ echo checking out $$file...; \ $(CVS) -d $(automake_repo) co -p automake/lib/$$file> $$f.t \ && $(move_if_change) $$f.t $$f; \ - done + done; \ + test "$$fail" && exit 1 define emit-upload-commands echo ===================================== |