* contrib/ari/update-web-ari.sh: Update for version.in change.
authorTom Tromey <tromey@redhat.com>
Tue, 2 Jul 2013 17:58:54 +0000 (17:58 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 2 Jul 2013 17:58:54 +0000 (17:58 +0000)
gdb/ChangeLog
gdb/contrib/ari/update-web-ari.sh

index 7b32358..64af724 100644 (file)
@@ -1,5 +1,9 @@
 2013-07-02  Tom Tromey  <tromey@redhat.com>
 
+       * contrib/ari/update-web-ari.sh: Update for version.in change.
+
+2013-07-02  Tom Tromey  <tromey@redhat.com>
+
        * common/ptid.h: Comment fixes.
 
 2013-07-01  Tom Tromey  <tromey@redhat.com>
index ee331e4..ffc0c33 100644 (file)
@@ -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}"