From: Mike Frysinger Date: Fri, 22 Mar 2013 23:16:40 +0000 (+0000) Subject: src-release: fix version look up for bfd based projects X-Git-Tag: sid-snapshot-20130401~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f778543a00e3ab59d9f04782554b491a8763b94;p=platform%2Fupstream%2Fbinutils.git src-release: fix version look up for bfd based projects --- diff --git a/ChangeLog b/ChangeLog index a276e71..07594a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-03-22 Mike Frysinger + + * src-release (VER): Change bfd/configure.in sed to use the new + `bfd/configure --version` output. + 2013-02-15 Yufeng Zhang * configure.ac: Sync with GCC repo. 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 \