rpm-build/scripts/debuginfo.prov.files
2011-02-04 02:55:25 +03:00

13 lines
222 B
Bash
Executable File

#!/bin/sh -efu
while IFS=$'\t' read -r f t; do
case "$f" in
${RPM_BUILD_ROOT-}/usr/lib/debug/*.debug) ;;
*) continue ;;
esac
case "$t" in
*ELF*' shared object'*) ;;
*) continue ;;
esac
printf '%s\n' "$f"
done