diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-03-01 09:39:32 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-03-01 09:40:08 +0100 |
commit | 298f96a6daf9cbb05d2960c9cfda865a79ad3e3c (patch) | |
tree | e55225fc666c383851c943ed7f28efdeb27f1c0b | |
parent | d787fd90a576e67dff99d863822b80c5a75dd81f (diff) | |
download | gnulib-298f96a6daf9cbb05d2960c9cfda865a79ad3e3c.tar.gz |
Fix unportable awk script in vc-list-files.
* build-aux/vc-list-files: In the replacement awk script, use
substr with a second argument of 1, not zero.
Report by Simon Josefsson.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | build-aux/vc-list-files | 6 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix unportable awk script in vc-list-files. + * build-aux/vc-list-files: In the replacement awk script, use + substr with a second argument of 1, not zero. + Report by Simon Josefsson. + 2009-02-28 Bruno Haible <bruno@clisp.org> More support for FreeMiNT. diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files index 419ab2acab..56acd5f834 100755 --- a/build-aux/vc-list-files +++ b/build-aux/vc-list-files @@ -2,9 +2,9 @@ # List version-controlled file names. # Print a version string. -scriptversion=2008-07-11.19 +scriptversion=2009-03-01.09 -# Copyright (C) 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2009 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -89,7 +89,7 @@ elif test -d CVS; then if (!$1 && $3 !~ /^-/) { \ f=FILENAME; \ if (f ~ /CVS\/Entries$/) \ - f = substr(f, 0, length(f)-11); \ + f = substr(f, 1, length(f)-11); \ print f $2; \ }}'\'' \ `find "$dir" -name Entries -print` /dev/null' $postprocess |