diff --git a/scripts/populate.in b/scripts/populate.in index f68acd9c..6cd8a623 100644 --- a/scripts/populate.in +++ b/scripts/populate.in @@ -281,9 +281,9 @@ CT_TMP_DIR="${TMPDIR:-/tmp}/populate-${rand}-${$}" trap "rm -rf ${CT_TMP_DIR}" EXIT # List all ELF (executables|shared objects)... -find . -type f -exec file {} \; \ -|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB +(executable|shared object),' \ -|cut -d ":" -f 1 \ +find . -type f -exec file {} \; \ +|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB +(executable|pie executable|shared object),' \ +|cut -d ":" -f 1 \ >"${CT_TMP_DIR}/files.list" # ... and use that list to find missing dependencies