X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/dc2825ae898c526ea3619450112b2ea44f437151..be642444923af7f647e8b798999fe63763cf6270:/Makefile.maint diff --git a/Makefile.maint b/Makefile.maint index c3d8b8c9..e5f5af21 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -77,12 +77,13 @@ cvs-tag-check: else :; fi cvs-diff-check: - if cvs diff | grep -v '^?' >cvs-diffs; then \ - rm cvs-diffs; \ - else \ + cvs diff | grep -v '^?' >cvs-diffs + if grep . cvs-diff >dev/null; then \ echo "Some files are locally modified:" 1>&2; \ cat cvs-diffs; \ exit 1; \ + else \ + rm cvs-diffs; \ fi cvs-check: cvs-diff-check cvs-tag-check