summaryrefslogtreecommitdiff
path: root/build-aux/vc-list-files
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-30 12:17:13 +0200
committerJim Meyering <meyering@redhat.com>2008-04-30 12:17:13 +0200
commit2c98cc7f4c1aa7985e826b67249d028364fee44b (patch)
tree49f57bbcebe247131165cbff0683122758b27fa0 /build-aux/vc-list-files
parent46c886a39065b3f954ccbc90bc43b7bf468e5664 (diff)
downloadgnulib-2c98cc7f4c1aa7985e826b67249d028364fee44b.tar.gz
vc-list-files: work properly with build-aux/cvsu, too
* build-aux/vc-list-files: Hoist the "./"-removing code to apply to all cvs-based clauses.
Diffstat (limited to 'build-aux/vc-list-files')
-rwxr-xr-xbuild-aux/vc-list-files2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index 5f12218d7e..63b403a116 100755
--- a/build-aux/vc-list-files
+++ b/build-aux/vc-list-files
@@ -76,12 +76,12 @@ if test -d .git; then
elif test -d .hg; then
eval exec hg locate '"$dir/*"' $postprocess
elif test -d CVS; then
+ test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
if test -x build-aux/cvsu; then
eval build-aux/cvsu --find --types=AFGM '"$dir"' $postprocess
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; \