This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: fix ARI for version.in change
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Tom Tromey'" <tromey at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Tue, 2 Jul 2013 15:18:50 +0200
- Subject: RE: fix ARI for version.in change
- References: <87ppv2f2gk dot fsf at fleche dot redhat dot com>
Hi Tom,
Thanks for this fix.
I checked your patch,
and it does indeed correct the version output in the created ARI page.
Please commit.
Pierre Muller
as ARI maintainer.
Besides giving a wrong version, this did not seem
like it could be the reason of the nightly failures...
Does anyone have a better insight as to why nothing
was generated since June 24.
I saw the email by Joel stating that the automatic
builds are broken, but there was no explanation of
the possible reasons.
> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Tom Tromey
> Envoyé : lundi 1 juillet 2013 22:30
> À : gdb-patches@sourceware.org
> Objet : RFC: fix ARI for version.in change
>
> This fixes the ARI code to deal with the version.in change. I thought
> I'd sent this before but I couldn't find it in the archives.
>
> Tom
>
> 2013-06-25 Tom Tromey <tromey@redhat.com>
>
> * contrib/ari/update-web-ari.sh: Update for version.in change.
>
> diff --git a/gdb/contrib/ari/update-web-ari.sh
b/gdb/contrib/ari/update-web-
> ari.sh
> index ee331e4..ffc0c33 100644
> --- a/gdb/contrib/ari/update-web-ari.sh
> +++ b/gdb/contrib/ari/update-web-ari.sh
> @@ -140,8 +140,9 @@ then
> echo ERROR: missing version file 1>&2
> exit 1
> fi
> -version=`cat ${version_in}`
>
> +date=`sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$/\1/p'
> $srcdir/bfd/version.h`
> +version=`sed -e "s/DATE/$date/" < ${version_in}`
>
> # THIS HAS SUFFERED BIT ROT
> if ${check_warning_p} && test -d "${srcdir}"
> --
> 1.8.1.4