Mercurial > hg > octave-kai > gnulib-hg
changeset 9866:3de5cdb73cbc
vc-list-files: don't cause coreutils "make po-check" failure
* build-aux/vc-list-files: Skip postprocessing when $2 is '.'
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Thu, 03 Apr 2008 18:23:40 +0200 |
parents | 8cd0d41a9b6d |
children | baefde832926 |
files | ChangeLog build-aux/vc-list-files |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-03 Jim Meyering <meyering@redhat.com> + + vc-list-files: don't cause coreutils "make po-check" failure + * build-aux/vc-list-files: Skip postprocessing when $2 is '.' + 2008-04-03 Eric Blake <ebb9@byu.net> Allow VPATH usage of vc-list-files.
--- 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-03.14 +scriptversion=2008-04-03.17 # Copyright (C) 2006-2008 Free Software Foundation, Inc. @@ -56,7 +56,7 @@ exit ;; -C) - postprocess="| sed 's|^|$2/|'" + test "$2" = . || postprocess="| sed 's|^|$2/|'" cd "$2" || exit 1 shift; shift ;; esac