rhboot / fwupdate

System firmware update support for UEFI machines
99 stars 47 forks source link

Fix regression in "objcopy version check" (AKA `expr: syntax error`) #63

Closed rw4s closed 7 years ago

rw4s commented 7 years ago

While commit 8418fee4 may have fixed the check for "some distributions", it broke the same check for others, like

GNU objcopy (WinAVR 20090313) 2.19 GNU objcopy (AVR_8_bit_GNU_Toolchain_3.4.3_1072) 2.23.2 GNU objcopy (Codescape GNU Tools 2016.05-03 for MIPS MTI Bare Metal) 2.24.90 GNU objcopy (GNU Binutils; openSUSE Leap 42.2) 2.26.1 GNU objcopy (GNU Binutils; SUSE Linux Enterprise 12) 2.26.1

(some more, some less relevant... ;)

This version is meant to cover them all (or at least be easily extensible to do so, as demonstrated with square brackets).

Signed-off-by: Raymund Will rw@suse.com