From 74d17001b47a38074b96c2b6e4ab8df0f146ab44 Mon Sep 17 00:00:00 2001 From: Michael Frysinger Date: Fri, 22 Mar 2013 23:16:40 +0000 Subject: src-release: fix version look up for bfd based projects --- src-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-release') diff --git a/src-release b/src-release index cba438492..c388cbe5a 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 \ -- cgit v1.2.3