separateDebugInfo: Restore ELF check
This commit is contained in:
parent
74bda15a94
commit
076de98c94
@ -18,6 +18,7 @@ _separateDebugInfo() {
|
||||
# Skip non-ELF files.
|
||||
exec 10< "$i"
|
||||
read -n 4 -u 10 magic
|
||||
if ! [[ "$magic" =~ ELF ]]; then continue; fi
|
||||
exec 10<&-
|
||||
|
||||
# Extract the Build ID. FIXME: there's probably a cleaner way.
|
||||
|
Loading…
Reference in New Issue
Block a user