From 991ec3ac85343caaa63fb8bc5ef81212e7a255d7 Mon Sep 17 00:00:00 2001 From: Jean-Marie Lemetayer Date: Mon, 8 Sep 2014 18:53:18 +0200 Subject: populate: fix empty files.list The output format of the file(1) command have changed since (at least) the version 5.14. We need to to take care of an extra space. Signed-off-by: Jean-Marie Lemetayer [yann.morin.1998@free.fr: do not right-shift trailing back-slashes] Signed-off-by: Yann E. MORIN diff --git a/scripts/populate.in b/scripts/populate.in index 28a9740..9aa3ee9 100644 --- a/scripts/populate.in +++ b/scripts/populate.in @@ -281,7 +281,7 @@ 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),' \ +|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB +(executable|shared object),' \ |cut -d ":" -f 1 \ >"${CT_TMP_DIR}/files.list" -- cgit v0.10.2-6-g49f6