aboutsummaryrefslogtreecommitdiff
path: root/src-release
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-22 23:16:40 +0000
committerMike Frysinger <vapier@gentoo.org>2013-03-22 23:16:40 +0000
commit4f778543a00e3ab59d9f04782554b491a8763b94 (patch)
tree5a207cd29a06f29b87ce77e2e27bc3223a3d56ab /src-release
parent7438a259bc5aebcec6a7adb2464a690eca7ed8bf (diff)
downloadgdb-4f778543a00e3ab59d9f04782554b491a8763b94.zip
gdb-4f778543a00e3ab59d9f04782554b491a8763b94.tar.gz
gdb-4f778543a00e3ab59d9f04782554b491a8763b94.tar.bz2
src-release: fix version look up for bfd based projects
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 cba4384..c388cbe 100644
--- a/src-release
+++ b/src-release
@@ -67,7 +67,7 @@ SUPPORT_FILES = list-of-support-files-for-tool-in-question
# NOTE: No double quotes in the below. It is used within shell script
# as VER="$(VER)"
VER = ` if grep 'AM_INIT_AUTOMAKE.*BFD_VERSION' $(TOOL)/configure.in >/dev/null 2>&1; then \
- sed < bfd/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
+ bfd/configure --version | sed -n -e '1s,.* ,,p'; \
elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
elif test -f $(TOOL)/version.in; then \