[libvirt] Re: [Libvir] make syntax-check fails with bzr checkouts
Jim Meyering
jim at meyering.net
Tue May 6 21:17:38 UTC 2008
Soren Hansen <soren at ubuntu.com> wrote:
> On Wed, Apr 30, 2008 at 12:19:51PM +0200, Jim Meyering wrote:
>> Unfortunately, the above no longer applies, due to upstream (gnulib)
>> changes to deal with non-srcdir (aka VPATH) builds. I updated libvirt
>> from gnulib just yesterday, and will again, later today.
>
> Here's the new patch that seems to do the trick:
>
> === modified file 'build-aux/vc-list-files'
> --- old/build-aux/vc-list-files 2008-04-30 16:11:08 +0000
> +++ new/build-aux/vc-list-files 2008-05-06 12:25:50 +0000
> @@ -75,6 +75,9 @@
> eval exec git ls-files '"$dir"' $postprocess
> elif test -d .hg; then
> eval exec hg locate '"$dir/*"' $postprocess
> +elif test -d .bzr; then
> + test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
> + eval exec bzr ls --versioned '"$dir"' $postprocess
> elif test -d CVS; then
> test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
> if test -x build-aux/cvsu; then
Thanks.
That looks fine. I've pushed it into gnulib (upstream),
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=176956aa54
and will apply here in libvirt shortly.
More information about the libvir-list
mailing list