From f77b35e7578e0d8522858345add5a9fc94afe450 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 11 Mar 2012 23:16:37 +0100 Subject: [PATCH] find-provides: Make sure, all files containing ".so" are actually ELF. --- tools/find-provides | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/find-provides b/tools/find-provides index afb1e80e3..8a3e3cb3a 100755 --- a/tools/find-provides +++ b/tools/find-provides @@ -18,7 +18,8 @@ while read file; do # Do not show python shared objects in provides list. ;; *.so*) - binary_files="${binary_files} ${file}" + file_is_elf ${file} >/dev/null 2>&1 && \ + binary_files="${binary_files} ${file}" ;; *.pm) # This file is a perl module. We check them later. -- 2.39.5