From: Tom Tromey Date: Tue, 2 Jul 2013 17:58:54 +0000 (+0000) Subject: * contrib/ari/update-web-ari.sh: Update for version.in change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac6dd50fbf418374bb4c10f45487a17169821f35;p=binutils-gdb.git * contrib/ari/update-web-ari.sh: Update for version.in change. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7b32358e3c5..64af72495ca 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-07-02 Tom Tromey + + * contrib/ari/update-web-ari.sh: Update for version.in change. + 2013-07-02 Tom Tromey * common/ptid.h: Comment fixes. diff --git a/gdb/contrib/ari/update-web-ari.sh b/gdb/contrib/ari/update-web-ari.sh index ee331e4c779..ffc0c334578 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}"