summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marie Lemetayer <jeanmarie.lemetayer@gmail.com>2014-09-08 16:53:18 (GMT)
committerYann E. MORIN <yann.morin.1998@free.fr>2014-09-11 21:34:59 (GMT)
commit991ec3ac85343caaa63fb8bc5ef81212e7a255d7 (patch)
treedd6dfb0e47e7c891d457b5de058137f74e80bb08
parente5d2c356cc3c5c4daa22257b8edc070c28821aac (diff)
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 <jeanmarie.lemetayer@gmail.com> [yann.morin.1998@free.fr: do not right-shift trailing back-slashes] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-rw-r--r--scripts/populate.in2
1 files changed, 1 insertions, 1 deletions
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"