aboutsummaryrefslogtreecommitdiff
path: root/gdb/contrib
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-07-02 17:58:54 +0000
committerTom Tromey <tromey@redhat.com>2013-07-02 17:58:54 +0000
commitac6dd50fbf418374bb4c10f45487a17169821f35 (patch)
treea30aeed605eea8973bcda7b279a0d7f1a0cd7030 /gdb/contrib
parentbd1df410dd00d9f5e859725e6b3b3b30b3184a04 (diff)
downloadfsf-binutils-gdb-ac6dd50fbf418374bb4c10f45487a17169821f35.zip
fsf-binutils-gdb-ac6dd50fbf418374bb4c10f45487a17169821f35.tar.gz
fsf-binutils-gdb-ac6dd50fbf418374bb4c10f45487a17169821f35.tar.bz2
* contrib/ari/update-web-ari.sh: Update for version.in change.
Diffstat (limited to 'gdb/contrib')
-rw-r--r--gdb/contrib/ari/update-web-ari.sh3
1 files changed, 2 insertions, 1 deletions
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}"