summaryrefslogtreecommitdiff
path: root/build-aux/vc-list-files
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-30 12:10:09 +0200
committerJim Meyering <meyering@redhat.com>2008-04-30 12:10:09 +0200
commit46c886a39065b3f954ccbc90bc43b7bf468e5664 (patch)
treed8feba47d679f6c3282f39d016541966295b87cd /build-aux/vc-list-files
parent173a9f0c48a16c3507f8a9b4f2fe39384c1e68fd (diff)
downloadgnulib-46c886a39065b3f954ccbc90bc43b7bf468e5664.tar.gz
vc-list-files: work properly in the CVS+awk case, too
* build-aux/vc-list-files: In the CVS+awk case, remove "./" prefix.
Diffstat (limited to 'build-aux/vc-list-files')
-rwxr-xr-xbuild-aux/vc-list-files3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index 02fad61c89..5f12218d7e 100755
--- a/build-aux/vc-list-files
+++ b/build-aux/vc-list-files
@@ -2,7 +2,7 @@
# List version-controlled file names.
# Print a version string.
-scriptversion=2008-04-30.11
+scriptversion=2008-04-30.12
# Copyright (C) 2006-2008 Free Software Foundation, Inc.
@@ -81,6 +81,7 @@ elif test -d CVS; then
elif (cvsu --help) >/dev/null 2>&1; then
eval cvsu --find --types=AFGM '"$dir"' $postprocess
else
+ test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
eval awk -F/ \''{ \
if (!$1 && $3 !~ /^-/) { \
f=FILENAME; \