summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Makefile.maint2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f63388ab4..82c94fab5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2006-10-14 Jim Meyering <jim@meyering.net>
+ * Makefile.maint (cvs-update): Use $(CVS), not "cvs".
+
Work also when the working directory (with e.g. coreutils sources)
is version controlled with git, rather than CVS.
* bootstrap (CVS_only_file): Test for the existence of README-cvs,
diff --git a/Makefile.maint b/Makefile.maint
index 693b33711..692919208 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -580,7 +580,7 @@ cvs-update:
fail=; \
for f in $(cvs_files); do \
test -f $$f || { echo "*** skipping $$f" 1>&2; continue; }; \
- cvs diff $$f > /dev/null \
+ $(CVS) diff $$f > /dev/null \
|| { echo "*** $$f is locally modified; skipping it" 1>&2; \
fail=yes; continue; }; \
file=$$(basename $$f); \