aboutsummaryrefslogtreecommitdiff
path: root/src-release
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-08-17 01:07:52 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-08-17 01:07:52 +0000
commitf006cabd5c8fa8486920f899761ebfc39cdd8f44 (patch)
tree9cc16c2e520c2f0c28bc2ffd822567dd5900fc60 /src-release
parent856afefbaf6e224c29cf689a0758fd5288869219 (diff)
downloadfsf-binutils-gdb-f006cabd5c8fa8486920f899761ebfc39cdd8f44.zip
fsf-binutils-gdb-f006cabd5c8fa8486920f899761ebfc39cdd8f44.tar.gz
fsf-binutils-gdb-f006cabd5c8fa8486920f899761ebfc39cdd8f44.tar.bz2
src-release: Strip "-cvs" from GDB source dir and tarball.
The nightly snapshots we have been creating in the past did not include the "-cvs" suffix at the end of the version number. Snapshot packaging started breaking ever since GDB switched to using BFD's version number. Things got partially fixed with the previous change to this file, but the change missed the fact that the "-cvs" suffix in the tarball name (Eg: gdb-7.6.50-20130816-cvs.tar) is undesirable. This patch removes it. ChangeLog: * src-release (VER): When using $(TOOL)/common/create-version.sh, strip the "-cvs" suffix from the version number if present.
Diffstat (limited to 'src-release')
-rw-r--r--src-release2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-release b/src-release
index cf6d266..c2f4727 100644
--- a/src-release
+++ b/src-release
@@ -74,7 +74,7 @@ VER = ` if grep 'AM_INIT_AUTOMAKE.*BFD_VERSION' $(TOOL)/configure.in >/dev/null
$(TOOL)/common/create-version.sh $(TOOL) \
'dummy-host' 'dummy-target' \
VER.tmp; \
- cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/'; \
+ cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-cvs$$//'; \
rm -f VER.tmp; \
elif test -f $(TOOL)/version.in; then \
head -1 $(TOOL)/version.in; \