rpm-build/scripts/lib.prov.files
Dmitry V. Levin 696f192aea scripts: ignore ELF shared objects with "no" machine type
When scanning files for deps, debuginfo, fixup, and verify_elf,
ignore files with type that matches "ELF * shared object, no machine, *"
pattern.

These are ELF files generated by GNU Guile, ignore them for now.
2017-04-18 16:42:41 +00:00

10 lines
180 B
Bash
Executable File

#!/bin/sh -efu
while IFS=$'\t' read -r f t; do
case " $t" in
*' ELF '*' shared object, no machine, '*)
continue ;;
*' ELF '*' shared object, '*)
echo "$f" ;;
esac
done