summaryrefslogtreecommitdiff
path: root/src-release.sh
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2016-01-17 10:01:55 +0400
committerJoel Brobecker <brobecker@adacore.com>2016-01-17 10:01:55 +0400
commitb677098d4e086c093554a064076e021fec0399e8 (patch)
treeefca866607a3539c190f9c4a4685c15fd6c36cd0 /src-release.sh
parentf749ed6079486300a65d7407e9fa3a7a296827f6 (diff)
downloadbinutils-gdb-b677098d4e086c093554a064076e021fec0399e8.tar.gz
fix gdb version parsing in src-release.sh
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.
Diffstat (limited to 'src-release.sh')
-rwxr-xr-xsrc-release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-release.sh b/src-release.sh
index 40d0126a0a7..64fa4c2120b 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