Adjust src-release.sh's getver due to gdbsupport's move to toplevel
authorSergio Durigan Junior <sergiodj@redhat.com>
Tue, 28 Jan 2020 22:21:41 +0000 (17:21 -0500)
committerSergio Durigan Junior <sergiodj@redhat.com>
Wed, 29 Jan 2020 20:06:32 +0000 (15:06 -0500)
commitfc1ca146f76eea0b76b1392ea1a7aa8fb0742490
treee23fab79b5d7de11092c21838a98c97181bfc11c
parent287c844a33a4d3b513bce17165158dd5fb2d820c
Adjust src-release.sh's getver due to gdbsupport's move to toplevel

The move of gdbsupport to the top level directory requires a small
change to src-release.sh's "getver" function, which is responsible for
determining the version string that will be appended to the release
tarball: now the create-version.sh script lives under ./gdbsupport,
and not under gdb/gdbsupport anymore.

This patch unbreaks the snapshot generation, which hasn't been working
since January 14th.

ChangeLog:
2020-01-29  Sergio Durigan Junior  <sergiodj@redhat.com>

* src-release.sh (getver): Look for gdbsupport's
create-version.sh script at the current directory if tool is
"gdb".

Change-Id: Id3b8bed6583a1aaa120c07009366f6c94a62d5db
ChangeLog
src-release.sh