Commit b6b1b445 authored by Committed by Tom Rini
scripts: fix binutils-version.sh for 'as' without a package.
Commit 73c25753 fixed the common issue that binutil packages (tool/organization that packaged or built the bin-utils) are included in brackets and this may falsely be recognized as a version. However, some tools do not provide a 'package' and previously we add the 'Gnu assembler..' to the version. Strip out the '(package version text)' and then look for a ##.## string. Signed-off-by: Bill Pringlemeir <firstname.lastname@example.org> Tested-by: Masahiro Yamada <email@example.com> Tested-by: Hans de Goede <firstname.lastname@example.org>
Showing with 2 additions and 1 deletion