Dmitry V. Levin
696f192aea
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.
16 lines
377 B
Bash
Executable File
16 lines
377 B
Bash
Executable File
#!/bin/sh -efu
|
|
while IFS=$'\t' read -r f t; do
|
|
case "$f" in
|
|
${RPM_BUILD_ROOT-}/usr/lib/debug/.build-id/*) continue ;;
|
|
${RPM_BUILD_ROOT-}/usr/lib/debug/*.debug) ;;
|
|
*) continue ;;
|
|
esac
|
|
case " $t" in
|
|
*' ELF '*' shared object, no machine, '*) continue ;;
|
|
*' ELF '*' shared object, '*) ;;
|
|
*' ELF '*' executable, '*) ;;
|
|
*) continue ;;
|
|
esac
|
|
printf '%s\n' "$f"
|
|
done
|