]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Adapt to new version of vc-list-files.
authorJim Meyering <meyering@redhat.com>
Thu, 31 Jan 2008 12:25:13 +0000 (13:25 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 31 Jan 2008 12:26:28 +0000 (13:26 +0100)
* tests/check.mk (vc_exe_in_TESTS): Adapt to new constraint
that vc-list-files be run only from $(top_srcdir).

ChangeLog
tests/check.mk

index bfa8c2d1784101d532f0d5181150e83b4341cbb5..214fa02bf3f8bb6105fa2ac01c828b29bca57e3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-01-31  Jim Meyering  <meyering@redhat.com>
 
+       Adapt to new version of vc-list-files.
+       * tests/check.mk (vc_exe_in_TESTS): Adapt to new constraint
+       that vc-list-files be run only from $(top_srcdir).
+
        Pull vc-list-files from gnulib.
        * bootstrap.conf (gnulib_modules): Add vc-list-files.
        * build-aux/vc-list-files: Remove file.
index 03e3f70427b4372bb99f51a3405d29354e482304..48cffa40ac964bebadab1ee7524dc8fc091097e6 100644 (file)
@@ -24,7 +24,8 @@ vc_exe_in_TESTS: Makefile
          sed -n '/^$(_v) = \\$$/,/[^\]$$/p' $(srcdir)/Makefile.am      \
            | sed 's/^  *//;/^\$$.*/d;/^$(_v) =/d'                      \
            | tr -s '\012\\' '  ' | fmt -1 | sort -u > t1 &&            \
-         for f in `$(top_srcdir)/build-aux/vc-list-files .`; do        \
+         for f in `cd $(top_srcdir) && build-aux/vc-list-files $(subdir)`; do \
+           f=`echo $$f|sed 's!^$(subdir)/!!'`;                         \
            test -f "$$f" && test -x "$$f" && echo "$$f";               \
          done | sort -u > t2 &&                                        \
          diff -u t1 t2 || exit 1;                                      \