]> git.saurik.com Git - bison.git/blobdiff - Makefile.maint
* configure.in: Bump to 1.28c.
[bison.git] / Makefile.maint
index e9258740d062c00695ad3f47200ac9a7604c550b..69fbbd24d64fd451abfe05fda257a93268bf2eb4 100644 (file)
@@ -77,12 +77,13 @@ cvs-tag-check:
        else :; fi
 
 cvs-diff-check:
-       if cvs diff >cvs-diffs; then                            \
-         rm cvs-diffs;                                         \
-       else                                                    \
-         echo "Some files are locally modified:" 1>&2;         \
-         cat cvs-diffs;                                        \
+       cvs diff | grep -v '^?' >cvs-diffs;                     \
+       if grep . cvs-diff >/dev/null; then                     \
+         echo "Some files are locally modified:" >&2;          \
+         cat cvs-diffs >&2;                                    \
          exit 1;                                               \
+       else                                                    \
+         rm cvs-diffs;                                         \
        fi
 
 cvs-check: cvs-diff-check cvs-tag-check