1 --- rpm-4.16.1.3/scripts/find-debuginfo.sh.orig 2021-11-05 00:19:27.239390489 +0100
2 +++ rpm-4.16.1.3/scripts/find-debuginfo.sh 2021-11-05 00:21:27.102128386 +0100
4 # Build a list of unstripped ELF files and their hardlinks
6 find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*.debug" -type f \
7 - \( -perm -0100 -or -perm -0010 -or -perm -0001 \) \
8 -print | LC_ALL=C sort |
9 file -N -f - | sed -n -e 's/^\(.*\):[ ]*.*ELF.*, not stripped.*/\1/p' |
10 xargs --no-run-if-empty stat -c '%h %D_%i %n' |