X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fvc-list-files;h=419ab2acab5983e15d1a2592e5c19e65c300070e;hb=0f4a0409cb0fa10631b9fe2241a2c8083f37daf5;hp=8ca4530f7ab268711784c4c7eee144e5fce70542;hpb=176956aa54d75b82c90e7df4e74b4b8c94dc0181;p=gnulib.git diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files index 8ca4530f7..419ab2aca 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-05-01.10 +scriptversion=2008-07-11.19 # Copyright (C) 2006-2008 Free Software Foundation, Inc. @@ -88,7 +88,8 @@ elif test -d CVS; then eval awk -F/ \''{ \ if (!$1 && $3 !~ /^-/) { \ f=FILENAME; \ - sub(/CVS\/Entries/, "", f); \ + if (f ~ /CVS\/Entries$/) \ + f = substr(f, 0, length(f)-11); \ print f $2; \ }}'\'' \ `find "$dir" -name Entries -print` /dev/null' $postprocess