* FYI/pushed: fix gdb version parsing in src-release.sh
@ 2016-01-17 6:08 Joel Brobecker
0 siblings, 0 replies; only message in thread
From: Joel Brobecker @ 2016-01-17 6:08 UTC (permalink / raw)
To: gdb-patches
Small change required after we switched the gdb version scheme to
using a -git suffix rather than a -cvs one.
ChangeLog:
* src-release.sh: Compute the gdb tarball name by stripping
'-git' rather than '-cvs'.
Tested by running "src-release.sh gdb" and verifying the tarball
name as well as its contents.
Thanks,
--
Joel
---
src-release.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src-release.sh b/src-release.sh
index 40d0126..64fa4c2 100755
--- a/src-release.sh
+++ b/src-release.sh
@@ -60,7 +60,7 @@ getver()
bfd/configure --version | sed -n -e '1s,.* ,,p'
elif test -f $tool/common/create-version.sh; then
$tool/common/create-version.sh $tool 'dummy-host' 'dummy-target' VER.tmp
- cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-cvs$//'
+ cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-git$//'
rm -f VER.tmp
elif test -f $tool/version.in; then
head -1 $tool/version.in
--
2.5.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-17 6:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-17 6:08 FYI/pushed: fix gdb version parsing in src-release.sh Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).