diff --git a/abuild.in b/abuild.in index a669f65..d52c0bf 100644 --- a/abuild.in +++ b/abuild.in @@ -2247,6 +2247,10 @@ stripbin() { msg "Stripping binaries" scanelf --recursive --nobanner --osabi --etype "ET_DYN,ET_EXEC" . \ | while read type osabi filename; do + + # scanelf may have picked up a temp file so verify that file still exists + [ -e "$filename" ] || continue + [ "$osabi" != "STANDALONE" ] || continue local XATTR=$(getfattr --match="" --dump "${filename}") "${stripcmd}" "${filename}"