From be642444923af7f647e8b798999fe63763cf6270 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 3 Aug 2001 09:11:12 +0000 Subject: [PATCH 1/1] Thinko. --- Makefile.maint | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.45.2