Skip to content
Snippets Groups Projects
Commit b6b1b445 authored by Bill Pringlemeir's avatar Bill Pringlemeir Committed by Tom Rini
Browse files

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: default avatarBill Pringlemeir <bpringlemeir@nbsps.com>
Tested-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Tested-by: default avatarHans de Goede <hdegoede@redhat.com>
parent b4ad44ba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment